Hi, I’m new to Auth0 and I’m trying to redirect the users to the page where they came from (say, a service from the group of services that utilizes our authentication service) after the callback.
To further explain the situation, here’s what I’m trying to do
Application -> Our API auth service + Auth0 -> callback -> Application
Is there a way to do this? Thanks!
That should easily be possible with cookie or localStorage variable. Just store the current URL on your end when the user clicks the login button on your website (that redirect him to Auth0), and return back to it via further redirect when the user returns to your callback url.
Thank you so much! I did it with cookies and it’s working as intended now.
Glad to hear that @kenichiiana!
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.