mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
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.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)
|
## 0.16.2 (2022-08-14)
|
||||||
|
|
||||||
### Changes
|
### Changes
|
||||||
|
|
2
oidc.go
2
oidc.go
|
@ -318,7 +318,7 @@ func extractIDTokenClaims(
|
||||||
idToken *oidc.IDToken,
|
idToken *oidc.IDToken,
|
||||||
) (*IDTokenClaims, error) {
|
) (*IDTokenClaims, error) {
|
||||||
var claims IDTokenClaims
|
var claims IDTokenClaims
|
||||||
if err := idToken.Claims(claims); err != nil {
|
if err := idToken.Claims(&claims); err != nil {
|
||||||
log.Error().
|
log.Error().
|
||||||
Err(err).
|
Err(err).
|
||||||
Caller().
|
Caller().
|
||||||
|
|
Loading…
Reference in a new issue