Change Google scope in external providers sample (#4138)

This commit is contained in:
Luke Latham 2018-11-20 11:38:05 -06:00 committed by Nate McMaster
parent 5a6b6c90b6
commit 5539b0f6e7
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ namespace Identity.ExternalClaims
// Configure your auth keys, usually stored in Config or User Secrets
o.ClientId = "<yourid>";
o.ClientSecret = "<yoursecret>";
o.Scope.Add("https://www.googleapis.com/auth/plus.me");
o.Scope.Add("https://www.googleapis.com/auth/plus.login");
o.ClaimActions.MapJsonKey(ClaimTypes.Gender, "gender");
o.SaveTokens = true;
o.Events.OnCreatingTicket = ctx =>