Skip to content

Commit aee6b7f

Browse files
Denis Ivanovmartincostello
authored andcommitted
Map name identifier to email
1 parent 768f34c commit aee6b7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AspNet.Security.OAuth.MailRu/MailRuAuthenticationOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public MailRuAuthenticationOptions()
2727
TokenEndpoint = MailRuAuthenticationDefaults.TokenEndpoint;
2828
UserInformationEndpoint = MailRuAuthenticationDefaults.UserInformationEndpoint;
2929

30-
ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "client_id");
30+
ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "email");
3131
ClaimActions.MapJsonKey(ClaimTypes.Name, "nickname");
3232
ClaimActions.MapJsonKey(ClaimTypes.Gender, "gender");
3333
ClaimActions.MapJsonKey(ClaimTypes.Email, "email");

0 commit comments

Comments
 (0)