Skip to content

Fix docs section on upgrading to v5 #13146

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dBianchii
Copy link

☕️ Reasoning

The docs are incorrect and that code snippet will not work, as you can't call useSession outside of a SessionProvider

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

📌 Resources

@dBianchii dBianchii requested a review from ndom91 as a code owner August 1, 2025 13:17
@dBianchii dBianchii changed the title Fix section of upgrading to v5 Fix docs section on upgrading to v5 Aug 1, 2025
Copy link

vercel bot commented Aug 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 1, 2025 1:21pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Aug 1, 2025 1:21pm

Copy link

vercel bot commented Aug 1, 2025

@dBianchii is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant