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

Infer user exists if WithPageAuthRequired page is rendered #1014

Merged
merged 2 commits into from
Jan 20, 2023

Conversation

adamjmcgrath
Copy link
Contributor

📋 Changes

We can assume the user exists if WithPageAuthRequired page is rendered

📎 References

fixes #1007

@adamjmcgrath adamjmcgrath added the review:tiny Tiny review label Jan 20, 2023
@adamjmcgrath adamjmcgrath requested a review from a team as a code owner January 20, 2023 11:45
@vercel
Copy link

vercel bot commented Jan 20, 2023

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

1 Ignored Deployment
Name Status Preview Comments Updated
nextjs-auth0 ⬜️ Ignored (Inspect) Jan 20, 2023 at 0:06AM (UTC)

@adamjmcgrath adamjmcgrath merged commit 93a2431 into main Jan 20, 2023
@adamjmcgrath adamjmcgrath deleted the with-page-auth-req-user branch January 20, 2023 12:36
@adamjmcgrath adamjmcgrath mentioned this pull request Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:tiny Tiny review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why is user optional coming out of withPageAuthRequired()?
2 participants