<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
0D51Y00005tGdGbSAKOkta Classic EngineSingle Sign-OnAnswered2019-06-03T08:09:32.000Z2019-01-14T18:12:59.000Z2019-06-03T08:09:32.000Z

AaronJ.73856 (Customer) asked a question.

Permission denied accessing metadata

I am trying follow the Okta guide "Add Login to Your ASP.NET Core MVC App". However, when my service issues the auth challenge, it fails with an exception because I can't retrieve the auth metadata. When I go the to URL manually (https://[my-domain].okta.com/oauth2/default/.well-known/openid-configuration) I get this error:

 

{"errorCode":"E0000015","errorSummary":"You do not have permission to access the feature you are requesting","errorLink":"E0000015","errorId":"oaedxPVwRePSXybpks4WakIlA","errorCauses":[]}

 

Any ideas?


  • AaronJ.73856 (Customer)

    I needed to set AuthorizationServerId=null in AddOktaMvc so that it would drop the "default" from the metadata URL.

    Selected as Best
  • AaronJ.73856 (Customer)

    I needed to set AuthorizationServerId=null in AddOktaMvc so that it would drop the "default" from the metadata URL.

    Selected as Best
  • HiralD.51891 (Customer)

    {"errorCode":"E0000015","errorSummary":"You do not have permission to access the feature you are requesting","errorLink":"E0000015","errorId":"oaeuVJIC1NwQKWJGviElMnuHw","errorCauses":[]}

     

    while login through android app

     

This question is closed.
Loading
Permission denied accessing metadata