Skip to content

Commit

Permalink
fix: modify ACRValues parameter type to space separated strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Giulio Ruggeri committed Apr 28, 2023
1 parent 312c2a0 commit 9bfb5cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/oidc/authorization.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const (
)

// AuthRequest according to:
//https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest
// https://openid.net/specs/openid-connect-core-1_0.html#AuthRequest
type AuthRequest struct {
Scopes SpaceDelimitedArray `json:"scope" schema:"scope"`
ResponseType ResponseType `json:"response_type" schema:"response_type"`
Expand All @@ -77,7 +77,7 @@ type AuthRequest struct {
UILocales Locales `json:"ui_locales" schema:"ui_locales"`
IDTokenHint string `json:"id_token_hint" schema:"id_token_hint"`
LoginHint string `json:"login_hint" schema:"login_hint"`
ACRValues []string `json:"acr_values" schema:"acr_values"`
ACRValues SpaceDelimitedArray `json:"acr_values" schema:"acr_values"`

CodeChallenge string `json:"code_challenge" schema:"code_challenge"`
CodeChallengeMethod CodeChallengeMethod `json:"code_challenge_method" schema:"code_challenge_method"`
Expand Down

0 comments on commit 9bfb5cb

Please sign in to comment.