Closed MisterJimson closed 2 years ago
The SignUp method currently accepts SignUpOptions.RedirectTo but you’re right, we don’t have that for SendMagicLink
And it should be added!
May want to transfer the issue to gotrue-csharp
, it doesn't allow me to.
Feature request
Provide the ability to set redirect when calling
Client.Instance.Auth.SendMagicLink
orClient.Instance.Auth.SignIn
Other Supabase client libs include this and it would help for deep linking magic link emails to the application.
This is available in >= supabase-csharp@0.3.1
and supabase-community/gotrue-csharp@2.3.5
var options = new Supabase.Gotrue.SignInOptions {
RedirectTo = "https://my-super-url.com"
};
await Supabase.Client.Instance.Auth.SendMagicLink("michael@supabase.io", options);
And
var options = new Supabase.Gotrue.SignInOptions {
RedirectTo = "https://my-super-url.com"
};
await Supabase.Client.Instance.Auth.SignIn("michael@supabase.io", options);
Feature request
Provide the ability to set redirect when calling
Client.Instance.Auth.SendMagicLink
orClient.Instance.Auth.SignIn
Other Supabase client libs include this and it would help for deep linking magic link emails to the application.