@@ -524,6 +524,7 @@ type LegacyProvider struct {
524 OIDCExtraAudiences []string `flag:"oidc-extra-audience" cfg:"oidc_extra_audiences"`
524 OIDCExtraAudiences []string `flag:"oidc-extra-audience" cfg:"oidc_extra_audiences"`
525 OIDCPublicKeyFiles []string `flag:"oidc-public-key-file" cfg:"oidc_public_key_files"`
525 OIDCPublicKeyFiles []string `flag:"oidc-public-key-file" cfg:"oidc_public_key_files"`
526 LoginURL string `flag:"login-url" cfg:"login_url"`
526 LoginURL string `flag:"login-url" cfg:"login_url"`
527+ AuthRequestResponseMode string `flag:"auth-request-response-mode" cfg:"auth_request_response_mode"`
527 RedeemURL string `flag:"redeem-url" cfg:"redeem_url"`
528 RedeemURL string `flag:"redeem-url" cfg:"redeem_url"`
528 ProfileURL string `flag:"profile-url" cfg:"profile_url"`
529 ProfileURL string `flag:"profile-url" cfg:"profile_url"`
529 SkipClaimsFromProfileURL bool `flag:"skip-claims-from-profile-url" cfg:"skip_claims_from_profile_url"`
530 SkipClaimsFromProfileURL bool `flag:"skip-claims-from-profile-url" cfg:"skip_claims_from_profile_url"`
@@ -586,6 +587,7 @@ func legacyProviderFlagSet() *pflag.FlagSet {
586 flagSet.String("login-url", "", "Authentication endpoint")
587 flagSet.String("login-url", "", "Authentication endpoint")
587 flagSet.String("redeem-url", "", "Token redemption endpoint")
588 flagSet.String("redeem-url", "", "Token redemption endpoint")
588 flagSet.String("profile-url", "", "Profile access endpoint")
589 flagSet.String("profile-url", "", "Profile access endpoint")
590+ flagSet.String("auth-request-response-mode", "", "Authorization request response mode")
589 flagSet.Bool("skip-claims-from-profile-url", false, "Skip loading missing claims from profile URL")
591 flagSet.Bool("skip-claims-from-profile-url", false, "Skip loading missing claims from profile URL")
590 flagSet.String("resource", "", "The resource that is protected (Azure AD only)")
592 flagSet.String("resource", "", "The resource that is protected (Azure AD only)")
591 flagSet.String("validate-url", "", "Access token validation endpoint")
593 flagSet.String("validate-url", "", "Access token validation endpoint")
@@ -684,6 +686,7 @@ func (l *LegacyProvider) convert() (Providers, error) {
684 AllowedGroups: l.AllowedGroups,
686 AllowedGroups: l.AllowedGroups,
685 CodeChallengeMethod: l.CodeChallengeMethod,
687 CodeChallengeMethod: l.CodeChallengeMethod,
686 BackendLogoutURL: l.BackendLogoutURL,
688 BackendLogoutURL: l.BackendLogoutURL,
689+ AuthRequestResponseMode: l.AuthRequestResponseMode,
689 // This part is out of the switch section for all providers that support OIDC
692 // This part is out of the switch section for all providers that support OIDC