Skip to content

Commit

Permalink
Fix Callback Errors (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
spjmurray authored Mar 20, 2024
1 parent 4a280cb commit 9388737
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/identity/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's IdP

type: application

version: v0.1.14
appVersion: v0.1.14
version: v0.1.15
appVersion: v0.1.15

icon: https://raw.githubusercontent.com/unikorn-cloud/assets/main/images/logos/dark-on-light/icon.png
2 changes: 1 addition & 1 deletion pkg/oauth2/federated.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ func htmlError(w http.ResponseWriter, r *http.Request, status int, description s
func authorizationError(w http.ResponseWriter, r *http.Request, redirectURI string, kind Error, description string) {
values := &url.Values{}
values.Set("error", string(kind))
values.Set("description", description)
values.Set("error_description", description)

http.Redirect(w, r, redirectURI+"?"+values.Encode(), http.StatusFound)
}
Expand Down

0 comments on commit 9388737

Please sign in to comment.