diff --git a/samples/Mvc.Client/Startup.cs b/samples/Mvc.Client/Startup.cs index 2b35b43f..b4fc30ef 100644 --- a/samples/Mvc.Client/Startup.cs +++ b/samples/Mvc.Client/Startup.cs @@ -35,7 +35,9 @@ namespace Mvc.Client { options.ClientId = "myClient"; options.ClientSecret = "secret_secret_secret"; options.PostLogoutRedirectUri = "http://localhost:53507/"; + options.RequireHttpsMetadata = false; + options.GetClaimsFromUserInfoEndpoint = true; // Use the authorization code flow. options.ResponseType = OpenIdConnectResponseTypes.Code;