<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
0D51Y00009BM0QoSALOkta Classic EngineOkta Integration NetworkAnswered2024-04-15T13:34:32.000Z2020-08-17T09:07:18.000Z2020-08-31T00:56:04.000Z

h1sr5 (h1sr5) asked a question.

How do we create a global OAuth client, Which shall work with different okta domains?

We need to read users in Okta directory of an organization. For that we are asking for access token with permission okta.users.read we created a dev account & implemented the OAuth client for that account. It is in working condition. Now we want this application to be used by multiple tenants of Okta.

 

e.g. tenant be like exampleone.okta.com, exampletwo.okta.com

 

So our OAuth client makes authorize requests to domain based server, i.e. https://{TENANT_OKTA_DOMAIN}/oauth2/v1/authorize

 

For above domains it will be,

https://exampleone.okta.com/oauth2/v1/authorize

https://exampletwo.okta.com/oauth2/v1/authorize

 

But when we request for OAuth for accounts which are external to us we get 400 bad request. For our dev account it works.

 

So my questions are,

How do we create a global OAuth client which works across the different domains?

Do we need to submit application for review to OKta to be able to access other domains?


  • Hi Prashant,

     

    Okta does not currently offer an option to set a global OIDC client to be used together with the OAuth for Okta feature.

     

    The Okta Integration Network OIDC applications are published in order to assist customers in performing single sign-on and authenticating to service provider applications.

     

    I'd like to encourage you to raise this as a new feature request over our Okta Community by going to your Okta Admin Panel >> Help and Training >> Product >> Ideas. Features suggested in our community are reviewed and can be voted and commented on by other members of the community, therefore making it much easier for the engineering team to understand the priorities that you have for feature requests.

     

    Once feature requests are submitted they are visible to other Okta admins, who can vote on them to provide more visibility. Using this method will allow you to maintain visibility on your feature requests throughout the process.

     

    Dragos Gaftoneanu

    Developer Support Engineer

    Okta Global Customer Care

    Expand Post
This question is closed.
Loading
How do we create a global OAuth client, Which shall work with different okta domains?