diff --git a/charts/core/Chart.yaml b/charts/core/Chart.yaml index 8d099b7..4eddea5 100644 --- a/charts/core/Chart.yaml +++ b/charts/core/Chart.yaml @@ -4,7 +4,7 @@ description: A Helm chart for deploying Unikorn Core type: application -version: v0.1.13 -appVersion: v0.1.13 +version: v0.1.14 +appVersion: v0.1.14 icon: https://assets.unikorn-cloud.org/images/logos/dark-on-light/icon.svg diff --git a/pkg/server/middleware/openapi/oidc/authorizer.go b/pkg/server/middleware/openapi/oidc/authorizer.go index 9501bf1..477618b 100644 --- a/pkg/server/middleware/openapi/oidc/authorizer.go +++ b/pkg/server/middleware/openapi/oidc/authorizer.go @@ -126,7 +126,7 @@ func (a *Authorizer) authorizeOAuth2(r *http.Request) (string, *userinfo.UserInf uiInternal := &userinfo.UserInfo{} - if err := ui.Claims(ui); err != nil { + if err := ui.Claims(uiInternal); err != nil { return "", nil, errors.OAuth2ServerError("failed to extrac user information").WithError(err) }