.NET MVC OAuth Flow

I am able to build and execute okta_aspnet_mvc_example, but I’m getting a failure as soon as I invoke the login action from the menu bar:

[IOException: IDX20804: Unable to retrieve document from: 'https://mycompany.okta.com/oauth2/default/.well-known/openid-configuration'.]

I assume this is a misconfiguration on the Okta Administrative interface, but I don’t know what I can and can’t see, as I am not the administrator for my Okta org. Any suggestions much appreciated!

This issue sounds similar to Unable to obtain configuration from: 'https://<domain>oauth2/<appid>/.well-known/openid-configuration'
IDX20804: Unable to retrieve document from:not working on deployed application working on localhost

@Sherry Thanks for the response. It is similar, but neither of those is resolved. My problem was needing to set the Authorization Server ID to String.Empty. Had to look far too hard for that detail!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.