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
chore(docs): update securing pages tutorial #3982
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/nextauthjs/next-auth/GNdiqRGiEthjkn8ZnpLYrkHrCSR1 |
Co-authored-by: Lluis Agusti <hi@llu.lu>
@balazsorban44 okay I think your comments have been addressed here. The last thing thats open afaik is deciding where the EDIT: And just to confirm, |
As someone currently looking at upgrading an app from next-auth v3 to v4 who was very confused by things failing until stumbling across #4075, and subsequently very confused that this is not documented, evidently due to this PR being in limbo for over 3 months... is there a reason it hasn't been merged and is now in danger of being closed as stale? |
To keep things tidy, we are closing this issue for now. If you think your issue is still relevant, leave a comment and we might reopen it. Thanks! |
Not sure why stalebot closed this when I commented on it? Does that not count as activity?
|
Not sure why stalebot closed this as well. Theres some overlap between this and #4116 PR. No excuse as to why it hasn't been merged yet though, |
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.
Now that #4116 is merged, could we get this PR up to date? 🙏
Yup, was just wondering if I should still do this one or what. Will update it shortly 👍 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
@balazsorban44 @ThangHuuVu alright this one is finally updated with Anything else that you guys would like updated here? Or good to go? |
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.
@ndom91 unstable_getServerSession
now accepts 3 arguments so I suggest the changes accordingly; please add the import for authOptions
in the example/code as well. This is what I and @balazsorban44 came up with attempting to make this function looks similar to NextAuthNextHandler
. 💡
Co-authored-by: Thang Vu <31528554+ThangHuuVu@users.noreply.github.com>
@ThangHuuVu great call with the arguments, I didnt realize that at first and was stuck for a minute during my upgrade to Appreciate all the recommended diffs btw! Also updated the text a bit in the SSR recommendation page based on your feedback 👍 |
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.
Yeah, great work, PR looks ready to be merged now!
Reasoning 💡
Draft PR to address #3973 and update some tutorials and other documentation to bring
getServerSession
andmiddleware
related documentation up to speed.Checklist 🧢
Affected issues 🎟