Skip to content

Commit

Permalink
feat: add gh login to claims
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Apr 26, 2021
1 parent 3cb3880 commit 49deb2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions selfservice/strategy/oidc/provider_github.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (g *ProviderGitHub) Claims(ctx context.Context, exchange *oauth2.Token) (*C
Subject: fmt.Sprintf("%d", user.GetID()),
Issuer: github.Endpoint.TokenURL,
Name: user.GetName(),
Nickname: user.GetLogin(),
Website: user.GetBlog(),
Picture: user.GetAvatarURL(),
Profile: user.GetHTMLURL(),
Expand Down

0 comments on commit 49deb2e

Please sign in to comment.