Merge pull request #747 from juanfont/fix-oidc

Fix error decoding OIDC claims (#744)
This commit is contained in:
Juan Font 2022-08-17 18:30:50 +02:00 committed by GitHub
commit f7380312d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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().