Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Conversation

@mtte
Copy link

@mtte mtte commented Jun 30, 2023

What kind of change does this PR introduce?

Bug fix: add option to specify the redirect URL when using supabase.auth.resend().

What is the current behavior?

Was currently not possible, related issue: #718

What is the new behavior?

It is now possible to specify the redirect URL:

supabase.auth.resend({
  type: 'signup',
  email: '<email>',
  options: {
    redirectTo: '<URL>',
  }
});

Additional context

The backend (GoTrue) already supported specifying the redirect URL for the link in the signup/change_email mail.

@kangmingtay
Copy link
Member

fixed in #724 - thanks for reporting this issue though!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants