mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-01 19:23:05 +00:00
Fix error decoding claims (#744)
This commit is contained in:
parent
e1a95e2057
commit
cc3de7e723
1 changed files with 1 additions and 1 deletions
2
oidc.go
2
oidc.go
|
@ -318,7 +318,7 @@ func extractIDTokenClaims(
|
|||
idToken *oidc.IDToken,
|
||||
) (*IDTokenClaims, error) {
|
||||
var claims IDTokenClaims
|
||||
if err := idToken.Claims(claims); err != nil {
|
||||
if err := idToken.Claims(&claims); err != nil {
|
||||
log.Error().
|
||||
Err(err).
|
||||
Caller().
|
||||
|
|
Loading…
Reference in a new issue