@@ -524,6 +524,7 @@ type LegacyProvider struct {
524524 OIDCExtraAudiences []string `flag:"oidc-extra-audience" cfg:"oidc_extra_audiences"`
525525 OIDCPublicKeyFiles []string `flag:"oidc-public-key-file" cfg:"oidc_public_key_files"`
526526 LoginURL string `flag:"login-url" cfg:"login_url"`
527+ AuthRequestResponseMode string `flag:"auth-request-response-mode" cfg:"auth_request_response_mode"`
527528 RedeemURL string `flag:"redeem-url" cfg:"redeem_url"`
528529 ProfileURL string `flag:"profile-url" cfg:"profile_url"`
529530 SkipClaimsFromProfileURL bool `flag:"skip-claims-from-profile-url" cfg:"skip_claims_from_profile_url"`
@@ -586,6 +587,7 @@ func legacyProviderFlagSet() *pflag.FlagSet {
586587 flagSet.String("login-url", "", "Authentication endpoint")
587588 flagSet.String("redeem-url", "", "Token redemption endpoint")
588589 flagSet.String("profile-url", "", "Profile access endpoint")
590+ flagSet.String("auth-request-response-mode", "", "Authorization request response mode")
589591 flagSet.Bool("skip-claims-from-profile-url", false, "Skip loading missing claims from profile URL")
590592 flagSet.String("resource", "", "The resource that is protected (Azure AD only)")
591593 flagSet.String("validate-url", "", "Access token validation endpoint")
@@ -684,6 +686,7 @@ func (l *LegacyProvider) convert() (Providers, error) {
684686 AllowedGroups: l.AllowedGroups,
685687 CodeChallengeMethod: l.CodeChallengeMethod,
686688 BackendLogoutURL: l.BackendLogoutURL,
689+ AuthRequestResponseMode: l.AuthRequestResponseMode,
687690 }
688691
689692 // This part is out of the switch section for all providers that support OIDC