supabase.auth.resend method doesn't work with pkce? #18442
astonfuture
started this conversation in
General
Replies: 2 comments 4 replies
-
Hi @astonfuture , I'm experiencing the same issue currently and was wondering if you ever figured this out more definitively? Tried to create a serverClient specifying auth: {authflow: "pkce"} and can't seem to get that working with PKCE either. |
Beta Was this translation helpful? Give feedback.
4 replies
-
Triggering Send magic link via UI on the users page also sends normal tokens |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When resending email sign up confirmations with with the supabase.auth.resend() method, the token generated and placed in the email confirmation link isn't a pkce token so it fails to log the user in when using the pkce auth flow.
The confirming email part works but it doesn't log the user in automatically. Is this the desired behaviour? I would have thought it should behave the same as the confirmation email sent by the supabase.auth.signUp() method which does generate a pkce token.
Beta Was this translation helpful? Give feedback.
All reactions