Merge pull request #747 from juanfont/fix-oidc
Fix error decoding OIDC claims (#744)
This commit is contained in:
commit
f7380312d3
2 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
2
oidc.go
2
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().
|
||||
|
|
Loading…
Reference in a new issue