Browse Source

Enable GetClaimsFromUserInfoEndpoint in the Mvc.Client sample

pull/27/merge
Kévin Chalet 11 years ago
parent
commit
66432ff59f
  1. 2
      samples/Mvc.Client/Startup.cs

2
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;

Loading…
Cancel
Save