
AaronJ.73856 (Customer) asked a question.
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?

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