How to auto-login with Amazon next.js app router? #11291
Replies: 1 comment 1 reply
-
@drattansingh were you able to figure this out? |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I selected the "Login with Amazon" option in amazon-console, created my oauth2 security profile and got my clientID and secret.
Then in my /api/auth/[...nextauth]/route.js file:
Then I'm calling in my client as follows:
However while I'm not getting any error, it's displaying a login form with option
sign in with autho
It's not performing the auto login. Any idea on how to solve this problem and get my auto-login working with amazon?
Beta Was this translation helpful? Give feedback.
All reactions