<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00006xMPZXCA4Okta Classic EngineSingle Sign-OnAnswered2021-05-14T22:26:28.000Z2021-05-11T21:06:48.000Z2021-05-14T22:26:27.000Z

How to redirect to the original request URL in okta ?

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.


This question is closed.
Loading
How to redirect to the original request URL in okta ?
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply