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_state
table I can see the generatedauth_code
andcode_challenge
:If I then manually paste
auth_code
andcode_challenge
into my API controller, hashcode_challenge
withHelpers.GeneratePKCENonceVerifier(...)
, then pass the hash andauth_code
toSupabase.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