Skip to content

Local auth example improvements - #27

Closed
marr wants to merge 1 commit into
nuxt:mainfrom
marr:main
Closed

marr wants to merge 1 commit into
nuxt:mainfrom
marr:main

Conversation

@marr

@marr marr commented May 28, 2023

Copy link
Copy Markdown

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

vercel Bot commented May 28, 2023 •

Copy link
Copy Markdown

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

@atinux
atinux requested a review from pi0 June 12, 2023 09:42
@marr marr closed this by deleting the head repository Apr 19, 2026

This branch was successfully deployed

1 active deployment
Preview — b26e0bbb Deployed May 28, 2023 by vercel[bot]
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