Closed allemas closed 2 months ago
Hi @allemas , thank you for your issue. The behavior you seem to need is the default behavior. Checkout the demo to test. You may have something in your code that should disturb this default behavior.
I found a workaround, a business rule blocked default behavior Thanks you ! I can now close the issue !
When user try to access to a restricted URL address directly not logged in, the redirection to the identity provider occur, the user can login but the user is not redirected to the initial targeted page.
Here my configuration :
I searched into the documentation, I miss something maybe. I don't know if the feature exist in the lib, that why I open an issue, hope it's ok.
I think, it's comes from the fact that redirect_uri is hard coded, I wonder if redirect mechanism can be applied here like,
window.location.origin + "/oauth-redirect?redirect=<url>",
otherwise I'll have to set up a redirection mechanism in localstorage, too bad :(