From 66432ff59f14f26ef12c7a725066b1841424c2fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Thu, 29 Oct 2015 15:38:30 +0100 Subject: [PATCH] Enable GetClaimsFromUserInfoEndpoint in the Mvc.Client sample --- samples/Mvc.Client/Startup.cs | 2 ++ 1 file changed, 2 insertions(+) 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;