CallbackUrl is lost when using Next-auth+Cognito+Azure AD #11457
Unanswered
EvgenKoshevoy
asked this question in
Help
Replies: 0 comments
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.
-
The question is this.
There is a site on NextJS + NextAuth
Cognito provider is configured
In cognito itself Azure AD is connected via SAML.
When I try to login to the site, the callbackUrl parameter is added to the address bar, but after login to Microsoft, the __Secure-next-auth.callback-url value is updated to NEXTAUTH_URL in my cookie.
Beta Was this translation helpful? Give feedback.
All reactions