From 143be622690ad68ee6d3a9869c8b7f9bb0116b1e Mon Sep 17 00:00:00 2001 From: Seth Etter Date: Sun, 6 May 2018 13:37:30 -0500 Subject: [PATCH] Fix Auth0 provider, get UserID from sub --- providers/auth0/auth0.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/auth0/auth0.go b/providers/auth0/auth0.go index 61ff42c24..4857259fb 100644 --- a/providers/auth0/auth0.go +++ b/providers/auth0/auth0.go @@ -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"` }