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

Local auth example improvements #27

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

Local auth example improvements #27

wants to merge 1 commit into from

Conversation

marr
Copy link

@marr marr commented May 28, 2023

This change is to improve the Local Auth example by supporting redirecting back to the place you were at before being logged out in a server page load context. In other words, you could be on /secret, and delete your cookies. When you try to login via hard load of /secret, the login page will be aware of where you previously were, and correctly bring you back to /secret.

This may require some more work, as you do see the 'protected' page for an instant during the redirect.

@vercel
Copy link

vercel bot commented May 28, 2023

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

Name Status Preview Comments Updated (UTC)
examples ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 28, 2023 3:44pm

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