Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Change Google scope in external providers sample #59

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion samples/Identity.ExternalClaims/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void ConfigureServices(IServiceCollection services)
// 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 =>
Expand Down