-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Currently the authGuardGuard
from the middleware redirects protected pages back to the index screen to force users to re-auth with google's OpenId. The problem is that means no matter what you end up on the home screen.
It would be nice if, in a situation where you're redirected so you can re-auth, the end of the auth flow would put you back on the page you were going to instead of just dumping you in home.
The authGuardGuard
already puts the "returnUrl" as a query parameter to home screen. The home screen would just need to pass this as additional metadata to the google OpenId in the html file, pass it again on the redirect in the nullinside-api project for the auth endpoint google is using, and then respect it on the google landing page.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status