From 19e0c6c8372c6be9ab13134ad28e42786b5182c3 Mon Sep 17 00:00:00 2001 From: Shawn Clabough Date: Thu, 4 Apr 2019 10:19:18 -0700 Subject: [PATCH] Add AuthorizationServerId to Startup.cs It took me a long time to figure out why an authorization endpoint of `/oauth2/${authServerId}/.well-known/openid-configuration` wasn't working for me, but `/.well-known/openid-configuration` was. Adding this comment will help educate users about this option. --- okta-hosted-login/okta-aspnet-webforms-example/Startup.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/okta-hosted-login/okta-aspnet-webforms-example/Startup.cs b/okta-hosted-login/okta-aspnet-webforms-example/Startup.cs index 1cb2517..82e0285 100644 --- a/okta-hosted-login/okta-aspnet-webforms-example/Startup.cs +++ b/okta-hosted-login/okta-aspnet-webforms-example/Startup.cs @@ -29,6 +29,7 @@ public void Configuration(IAppBuilder app) PostLogoutRedirectUri = ConfigurationManager.AppSettings["okta:PostLogoutRedirectUri"], GetClaimsFromUserInfoEndpoint = true, Scope = new List { "openid", "profile", "email" }, + // AuthorizationServerId = null, // un-comment this line if you're not using a custom authorization server }); } }