CallbackRouteError on SSO login (Azure/Entra) via Cognito Hosted UI — works for email/password #13071
-
Hello community, I’m using NextAuth with the Cognito provider. What I’ve tried: Has anyone gotten this exact setup working? Thank you, greatly appreciate any guidance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
FIX: We discovered a nonce was issued on the first SSO authorization flow through Cognito and we had to update the provider declaration to include the nonce check. The associated PR we used to discover this fix is here: Related discussion: The exact fix was to add the nonce check: |
Beta Was this translation helpful? Give feedback.
FIX: We discovered a nonce was issued on the first SSO authorization flow through Cognito and we had to update the provider declaration to include the nonce check. The associated PR we used to discover this fix is here:
#4100
Related discussion:
#3551
The exact fix was to add the nonce check:
Cognito({ checks: ['nonce'], authorization: { ...