1
0
mirror of https://github.com/juanfont/headscale.git synced 2024-12-20 19:09:07 +01:00

Fix error decoding claims (#744)

This commit is contained in:
Juan Font 2022-08-17 15:03:10 +00:00
parent e1a95e2057
commit cc3de7e723

View File

@ -318,7 +318,7 @@ func extractIDTokenClaims(
idToken *oidc.IDToken, idToken *oidc.IDToken,
) (*IDTokenClaims, error) { ) (*IDTokenClaims, error) {
var claims IDTokenClaims var claims IDTokenClaims
if err := idToken.Claims(claims); err != nil { if err := idToken.Claims(&claims); err != nil {
log.Error(). log.Error().
Err(err). Err(err).
Caller(). Caller().