Skip to content

Commit

Permalink
Fix Auth0 provider, get UserID from sub
Browse files Browse the repository at this point in the history
  • Loading branch information
sethetter committed May 6, 2018
1 parent 4933f15 commit 143be62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/auth0/auth0.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ type auth0UserResp struct {
Name string `json:"name"`
NickName string `json:"nickname"`
Email string `json:"email"`
UserID string `json:"user_id"`
UserID string `json:"sub"`
AvatarURL string `json:"picture"`
}

Expand Down

0 comments on commit 143be62

Please sign in to comment.