
jonghoon.choi최.48856 (Customer) asked a question.
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.

Hi @jonghoon.choi최.48856 (Customer) , Thank you for reaching out to the Okta Community!
As far as I was able to find, the integration seems to be dependent on Okta API Access Management which might not be enabled by default for your org.
https://www.okta.com/integrations/kong-api-gateway/
While researching this, I noticed that you already have a ticket opened. I recommend continuing the discussion with my colleagues from the Support Team. They'll be able to access additional tools and resources to help you get to the bottom of it.
Regards.
--
Join the Ask Me Anything online event on June 13, 2024 to discuss the new Govern Okta Admin Roles feature with our Experts