Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
dBianchii wants to merge 1 commit into nextauthjs:main
base: main
Choose a base branch
Loading
from dBianchii:patch-2

Conversation

Copy link

@dBianchii dBianchii commented Aug 1, 2025

☕️ 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 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
edited
Loading

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.

Copy link
Contributor

Sorry about that—these changes were already made in a previous pull request. #12872

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@ndom91 ndom91 Awaiting requested review from ndom91 ndom91 is a code owner

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /