Skip to content

Commit

Permalink
Merge pull request #747 from juanfont/fix-oidc
Browse files Browse the repository at this point in the history
Fix error decoding OIDC claims (#744)
  • Loading branch information
juanfont authored Aug 17, 2022
2 parents e1a95e2 + 287309b commit f738031
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion oidc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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().
Expand Down

0 comments on commit f738031

Please sign in to comment.