<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
0D54z00009a25NNCAYOkta Classic EngineSingle Sign-OnAnswered2023-09-01T21:45:24.000Z2023-08-31T21:02:33.000Z2023-09-01T21:45:24.000Z

VipinV.31157 (Customer) asked a question.

Authorize URL to simulate the authorization flow for OIDC IDP not working

I am working on a POC to configure OIDC IDP for my application. I followed all the steps mentioned in https://developer.okta.com/docs/guides/add-an-external-idp/openidconnect/main/ but at the final step where I need to test using authorize URL, the request never goes to IDP Sign-in Page.

 

I have two dev okta tenants and here are the configurations I did :

 

Okta Dev Tenant 1: Hosting the SPA app IDP user needs to access. IDP is configured on this tenant.

Okta Dev Tenant 2 : My IDP, where I created an application which will whose client credentials will be used during IDP configuration.

 

Test URL Constructed was as following :

 

https://${Okta Tenant 1}/oauth2/v1/authorize?idp=${idp_id got after configuring IDP on Okta Tenat 1}&client_id=${client_id of the application IDP user wants to access, hosted on Tenat 1}&response_type=code&response_mode=fragment&scope=openid%20email&redirect_uri=https%3A%2F%2FThe SPA APP URL , which user should be redirected to after authenticationo%2F&state=WM6D&nonce=YsG76jo

 

 

My goal is to test URL constructed after configuring IDP as I want to leverage the same for classic version at my client site.

 


  • Mihai N. (Okta, Inc.)

    Hi @VipinV.31157 (Customer)​ , Thank you for reaching out to the Okta Community!

     

     This question is more appropriate for our dedicated Okta Developer Forum.

    My advice would be to reach out devforum.okta.com to take advantage of their expertise.  

    While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work). 

     

    That being said, the test URL seems to be ok. I would recommend checking to see if the OIDC IDP is set to active and if a dedicated IDP routing rule is configured. 

    ⚠️ *When configuring an IDP routing rule, please make sure to restrict it to specific users ("User matches" option) so you don't accidentally block access to the org while testing.  

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

    --------------------------------

    💡 Community Moderator Tip: Join a group today and connect with other Okta customers by region or product.

     

    Expand Post
This question is closed.
Loading
Authorize URL to simulate the authorization flow for OIDC IDP not working