<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
0D54z0000A9jwQPCQYOkta Classic EngineIntegrationsAnswered2024-06-03T19:02:36.000Z2024-06-02T23:52:38.000Z2024-06-03T19:02:36.000Z
I want to redirect them to Okta and then redirect them to the page they initially tried to access after logging in

hello,

I have a question regarding Okta integration.

 

When a user accesses a specific URL that Okta is integrated with while not logged in,

I want to redirect them to Okta and then redirect them to the page they initially tried to access after logging in.

 

How do I set up or implement this?

 

I tried to use redirect_uri in Okta App settings, but I understand that Okta currently does not support wildcards for Subdirectory due to security concerns.

https://support.okta.com/help/s/article/Does-Okta-Support-Wildcard-Redirect-URIs?language=en_US

 

Is there another alternative?

 

The environment is as follows

- We are handling Okta Flow in an API G/W called Kong.

- So, we can't use the okta-vue library or anything like that.

 

Here is an example of the use case flow we want to use.

----------

1. a user accesses the address https://myurl.com/item-detail/1111

2. the server checks that the user is not logged in and redirects to IDP

3. the user logs in on the IDP page

4. IDP redirects to the original page

 

In fact, there are many inquiries that the desired failure is not immediately visible when clicking the failure detail URL attached to the failure propagation, so we are contacting you to handle the request.

 


This question is closed.
Loading
I want to redirect them to Okta and then redirect them to the page they initially tried to access after logging in