-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
next-auth login() redirection doesn't work #52
Comments
Hey @adamsh25 ! |
Hey @sladg I will need to redeploy this test, I will be able to do so over the weekend. |
I did replicate the behaviour, tested on Cognito and latest Next-auth. It indeed does not redirect properly. Let me know if you find some more info! |
Might be related to: nextauthjs/next-auth#5561 |
@adamsh25 was there any luck resolving this with newest version of Next-auth? |
Use case:
I used the repo below and added next-auth using Cognito provider:
https://github.com/plevavas/monorepo
https://next-auth.js.org/getting-started/example
https://next-auth.js.org/providers/cognito
The redirection to Cognito login does work locally when debugging in vs code
Issue:
The redirection to Cognito login does NOT work when deployed with tosladg/nextjs-lambda@v3.20.3
The text was updated successfully, but these errors were encountered: