Skip to content

Commit c4be34e

Browse files
Fix claim type
Should be a string, not a "name".
1 parent 2b075a8 commit c4be34e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AspNet.Security.OAuth.Coinbase/CoinbaseAuthenticationOptions.cs

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

2929
ClaimActions.MapJsonKey(ClaimTypes.NameIdentifier, "id");
30-
ClaimActions.MapJsonKey(ClaimTypes.Name, "name", "name");
30+
ClaimActions.MapJsonKey(ClaimTypes.Name, "name");
3131
ClaimActions.MapJsonKey(ClaimTypes.Email, "email");
3232

3333
ClaimActions.MapJsonKey(Claims.Username, "username");

0 commit comments

Comments
 (0)