diff --git a/samples/Mvc.Client/Startup.cs b/samples/Mvc.Client/Startup.cs index e756dee3..1393c243 100644 --- a/samples/Mvc.Client/Startup.cs +++ b/samples/Mvc.Client/Startup.cs @@ -45,6 +45,7 @@ namespace Mvc.Client { options.RequireHttpsMetadata = false; options.GetClaimsFromUserInfoEndpoint = true; + options.SaveTokensAsClaims = true; // Use the authorization code flow. options.ResponseType = OpenIdConnectResponseTypes.Code;