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:
Gabriel MABILLE
2023-10-17 10:57:35 +02:00
committed by GitHub
parent a546db4b3a
commit 2cab0d3d7c
+1 -1
View File
@@ -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
}