examples icon indicating copy to clipboard operation
examples copied to clipboard

Local auth example improvements

Open marr opened this issue 1 year 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