mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-29 18:33: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,
|
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().
|
||||||
|
|
Loading…
Reference in a new issue