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

withMiddlewareAuthRequired returnTo should be a relative url #1028

Merged
merged 3 commits into from
Jan 24, 2023

Conversation

adamjmcgrath
Copy link
Contributor

📋 Changes

withMiddlewareAuthRequired returnTo should be a relative url - this is consistent with withPageAuthRequired (CSR and SSR)

📎 References

fixes #1025

@adamjmcgrath adamjmcgrath added the review:small Small review label Jan 24, 2023
@adamjmcgrath adamjmcgrath requested a review from a team as a code owner January 24, 2023 10:39
@vercel
Copy link

vercel bot commented Jan 24, 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 24, 2023 at 0:29AM (UTC)

@adamjmcgrath adamjmcgrath merged commit 36b792d into main Jan 24, 2023
@adamjmcgrath adamjmcgrath deleted the fx-mw-returnTo branch January 24, 2023 12:35
@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:small Small review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

withMiddlewareAuthRequired returnTo param should not be full URL
2 participants