Social: Fix error decoding id_token log (#76664)
* Social: Fix error decoding id_token log * Update pkg/login/social/generic_oauth.go
This commit is contained in:
1 parent
a546db4b3a
commit
2cab0d3d7c
1 file changed
+1
-1
@@ -228,7 +228,7 @@ func (s *SocialGenericOAuth) extractFromToken(token *oauth2.Token) *UserInfoJson
|
||||
|
||||
var data UserInfoJson
|
||||
if err := json.Unmarshal(rawJSON, &data); err != nil {
|
||||
s.log.Error("Error decoding id_token JSON", "raw_json", string(data.rawJSON), "error", err)
|
||||
s.log.Error("Error decoding id_token JSON", "raw_json", string(rawJSON), "error", err)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user