Skip to content
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

Update nextjs.md #10751

Closed
wants to merge 1 commit into from
Closed

Update nextjs.md #10751

wants to merge 1 commit into from

Conversation

KristofaJosh
Copy link

You'll find that most users would want to secure pages under a specific route, having this in the documentation can reduce research time.

☕️ Reasoning

Reduce research time

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

📌 Resources

You'll find that most users would want to secure pages under a specific route, having this in the documentation can reduce research time.
Copy link

vercel bot commented Apr 28, 2024

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

Name Status Preview Comments Updated (UTC)
auth-docs ❌ Failed (Inspect) Apr 28, 2024 10:46am
next-auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2024 10:46am

@ndom91
Copy link
Member

ndom91 commented Apr 28, 2024

Thanks for your interest, but we're not really adding anything to the old docs unless its really necessary.

Also we recommend checking the session / authentication as close to the data fethching / using of the session as possible and not rely only on middleware. The new docs contain examples on middleware matcher usage 🙏

@ndom91 ndom91 closed this Apr 28, 2024
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.

None yet

2 participants