-
Notifications
You must be signed in to change notification settings - Fork 4k
docs: Update JWT docs to reflect JWE changes in v4 #4313
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 JWT docs to reflect JWE changes in v4 #4313
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/nextauthjs/next-auth/DWVQEqJ8fkeBxsfJNVqj7Dxih5Vw |
ndom91
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two small comments, but otherwise looks great! Thanks for the clean up!
Co-authored-by: Nico Domino <yo@ndo.dev>
Co-authored-by: Nico Domino <yo@ndo.dev>
|
Did them 👍 |
balazsorban44
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
* docs: Update JWT docs to reflect JWE changes in v4 This PR nextauthjs#3039 changed the defaults for JWT tokens to be encrypted by default (JWE). We have conflicting documentation across the docs site and readme. Additionatlly this PR nextauthjs#3783 made providing a secret required in production via NEXTAUTH_SECRET or an option. * Missed a reference * Update docs/docs/faq.md Co-authored-by: Nico Domino <yo@ndo.dev> * Update docs/docs/faq.md Co-authored-by: Nico Domino <yo@ndo.dev> Co-authored-by: Nico Domino <yo@ndo.dev>
Change language to be clear about JWT/JWE usage
Reasoning 💡
This PR #3039 changed the defaults for JWT tokens to be encrypted by default (JWE). We have conflicting documentation across the docs site and readme.
Additionatlly this PR #3783 made providing a secret required in production via NEXTAUTH_SECRET or an option.
The chagned sections were conflicting or clear with regards to current behavior.
Checklist 🧢
[ ] Tests