From cc3de7e7234f09855b128dfe02688051509e45d7 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Wed, 17 Aug 2022 15:03:10 +0000 Subject: [PATCH 1/2] 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(). From 287309b65ca417bfed6dd2345e1fdfc5ec0b2654 Mon Sep 17 00:00:00 2001 From: Juan Font Date: Wed, 17 Aug 2022 15:08:29 +0000 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index be9e845..e5dc359 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ ## 0.17.0 (2022-XX-XX) +## 0.16.3 (2022-08-17) + +### Changes + +- Fix issue with OIDC authentication [#747](https://github.com/juanfont/headscale/pull/747) + ## 0.16.2 (2022-08-14) ### Changes