-
Notifications
You must be signed in to change notification settings - Fork 68
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
Redirect to original URL after signin (deep linking) #887
Comments
Never used it myself, but I was looking to see if support for this functionality was provided too. |
@elliotgonzalez-lk any luck with this issue? |
Seems that @laurakutovaja fixed this! Maybe this issue should be closed? |
fixed by #910 |
When will #910 be released? I need this fix |
Hello! I am migrating from a now deprecated oidc client library to this one, and everything has gone smoothly. However, I cannot figure out how to redirect the user to the original URL after signin. I apologize if I am missing something terribly obvious, but I cannot figure this out.
Logged out user pastes
http://localhost:3000/blog/1
into the browser URL bar -> They are redirected to the IDP signin page -> Enter username and password -> authenticated -> redirected to the/
route instead ofhttp://localhost:3000/blog/1
state
param key appended to the URL during the callback.state
key onuserData
is always undefined. Any attempt to update this value does not work due to it being readonly.window.history.replaceState()
in theonSignin
callback does nothing.Does the library do anything with that
state
param? Is there any way to implement deep linking? Would you be able to point me to any examples of this working? I would greatly appreciate it. Thanks.The text was updated successfully, but these errors were encountered: