-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
docs: Update NextAuth JWT docs #1510
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Provide environment information
N/A
Describe the bug
The current code snippet for migrating nextauth to JWT strategy is outdated to what is scaffolded.
Current snippet:
However, currently T3 uses a destructuring approach for the Callback object, like so:
Reproduction repo
https://create.t3.gg/en/usage/next-auth#usage-with-nextjs-middleware
To reproduce
N/A
Additional information
No response
The text was updated successfully, but these errors were encountered: