You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mike-rambil
changed the title
I get nonce error for Azure provider when using supabase.auth.signInWithIdToken()
I get Nonces mismatch error for Azure provider when using supabase.auth.signInWithIdToken()
Jan 27, 2025
Use the code response type instead of id_token as mentioned here
You may need to change the settings in your Azure application to include ID Tokens. I would get an id_token from most accounts using the openid scope but not always. I've just checked these boxes and am hoping it solves that inconsistency problem.
(the settings in azure are for hybrid or implicit flows only and still requires a nonce)
I have found that the auth code flow inconsistently returns an ID Token. YMMV
Error Name
Code
UI
things to know
when decoding the token coming from azure using the jwt decoder, the token has the nonce passed in.
The text was updated successfully, but these errors were encountered: