Skip to content

Commit

Permalink
Fix Userinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
spjmurray committed Mar 22, 2024
1 parent fa66544 commit 01acf6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion pkg/server/middleware/openapi/oidc/authorizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 01acf6d

Please sign in to comment.