From cc3de7e7234f09855b128dfe02688051509e45d7 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Wed, 17 Aug 2022 15:03:10 +0000 Subject: [PATCH] Fix error decoding claims (#744) --- oidc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oidc.go b/oidc.go index 6376271..60d531e 100644 --- a/oidc.go +++ b/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().