Question on what domain to use

Some of the documentation instructs me to use the specific domain for my developer account, which is…

mydomain-dev-696103.okta.com

I also have an Authorization server ID of…

aussmyauthserverid356

In the browser, I can retrieve the OpenID config document against…

https://dev-696103.okta.com/oauth2/aussmyauthserverid356/.well-known/openid-configuration

…but I am not able to retrieve the OpenID config document against…

https://mydomain-dev-696103.okta.com/oauth2/aussmyauthserverid356/.well-known/openid-configuration

…or…

https://mydomain-dev-696103.okta.com/oauth2/default/.well-known/openid-configuration

I can’t figure out why. Am I operating under the wrong assumption when it comes to uses the mydomain-* subdomain? Shouldn’t that subdomain have the OpenID configuration on it somewhere?

(Names changed to protect the innocent.)

Hi @GardnerA

The hostname that needs to be used is the one that you have for your Okta log in.

Let’s say for example that I log in to https://mycompany.okta.com using my credentials. The authorization server that I use is aus3wg3argH0noXdU2p7. In this case, the link to the configuration file will be https://mycompany.okta.com/oauth2/aus3wg3argH0noXdU2p7/.well-known/openid-configuration.

In the case where you have mydomain-dev-696103.okta.com and dev-696103.okta.com, this are treated as two separate Okta orgs.