Replies: 1 comment
-
|
The code verifier should be in your variable |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Looking for some help implementing server-side PKCE auth flow in ASP.NET Core.
After calling
Supabase.Client.SignInWithOtp(...)on the server:Then looking in the DB
flow_statetable I can see the generatedauth_codeandcode_challenge:If I then manually paste
auth_codeandcode_challengeinto my API controller, hashcode_challengewithHelpers.GeneratePKCENonceVerifier(...), then pass the hash andauth_codetoSupabase.Client.ExchangeCodeForSession, then Supabase returnsHTTP 403 "code challenge does not match previously saved code verifier"I would have expected a match.
Beta Was this translation helpful? Give feedback.
All reactions