examples icon indicating copy to clipboard operation
examples copied to clipboard

Local auth example improvements

Open marr opened this issue 2 years ago • 1 comments

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.

marr avatar May 28 '23 15:05 marr

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

vercel[bot] avatar May 28 '23 15:05 vercel[bot]