Replies: 1 comment
-
check the docs https://next-auth.js.org/configuration/callbacks#jwt-callback you have more than |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Question 💬
I wanted to create a completely custom sign in and signup flow and components using amazon Cognito as the auth provider so I am using signIn("AWS_COGNITO_MANUAL", credentials) but it isn't setting the refreshToken, idToken or accessToken when I return the cognitoUser. How do I go about doing this?
This
prints my CognitoUser object for user but for token it prints:
{ name: undefined, email: undefined, picture: undefined, sub: undefined }
My config looks like this:
How to reproduce ☕️
Contributing 🙌🏽
Yes, I am willing to help answer this question in a PR
Beta Was this translation helpful? Give feedback.
All reactions