Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add option for setting redirect_url for MagicLink sign in #23

Merged

Conversation

MisterJimson
Copy link
Contributor

@MisterJimson MisterJimson commented Jan 16, 2022

supabase-community/supabase-csharp#20

  • Test are not updated as I haven't got them working yet Trouble Running Tests #22
  • I tried to copy the Flutter/Dart implementation and API

{
if (!string.IsNullOrEmpty(options.RedirectTo))
{
data.Add("redirect_to", options.RedirectTo);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if we need to uri encode the url at this point or if its handled by HttpUtility in Helpers.MakeRequest.

When we have the tests working, we can test this.

@acupofjose acupofjose merged commit 8b63277 into supabase-community:master Jan 17, 2022
@acupofjose
Copy link
Contributor

Thanks for this! Changes will be added in the next version bump.

@MisterJimson MisterJimson deleted the redirect-url-for-magic-link branch January 17, 2022 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants