
User15875926033017166270 (Customer) asked a question.
Hi Team, We have created a okta SPA app (PKCE flow )with oidc connect flow for allowing single sign on in our application. The application works fine but only redirects to 1 single url after successful login. We want it to be dynamic based on the request URL , the user originally had hit. Our requirement is to open the requested url page even after all the redirects for okta single sign on whenever thee is a session expiry. Is there a way of storing this original initiating url, so that it redirects user to original url instead of a constant redirect page.

Hi Bharathi,
Please feel free to check this documentation that can help you achieve this flow https://help.okta.com/en/prod/Content/Topics/Apps/Apps_App_Integration_Wizard_OIDC.htm and setup the Login redirect URIs based on your requirements also, in case that you have some questions please feel free to open up a case with us so we can check the issue further.
Thank You,
Valentin Branzoi
Technical Support Engineer