diff --git a/pkg/apis/options/legacy_options.go b/pkg/apis/options/legacy_options.go index a6349a03..64ae80f4 100644 --- a/pkg/apis/options/legacy_options.go +++ b/pkg/apis/options/legacy_options.go @@ -192,9 +192,10 @@ type LegacyHeaders struct { PassUserHeaders bool `flag:"pass-user-headers" cfg:"pass_user_headers"` PassAuthorization bool `flag:"pass-authorization-header" cfg:"pass_authorization_header"` - SetBasicAuth bool `flag:"set-basic-auth" cfg:"set_basic_auth"` - SetXAuthRequest bool `flag:"set-xauthrequest" cfg:"set_xauthrequest"` - SetAuthorization bool `flag:"set-authorization-header" cfg:"set_authorization_header"` + SetBasicAuth bool `flag:"set-basic-auth" cfg:"set_basic_auth"` + SetXAuthRequest bool `flag:"set-xauthrequest" cfg:"set_xauthrequest"` + SetAuthorization bool `flag:"set-authorization-header" cfg:"set_authorization_header"` + SetIntrospectionValue bool `flag:"set-introspection-value" cfg:"set_introspection_value"` PreferEmailToUser bool `flag:"prefer-email-to-user" cfg:"prefer_email_to_user"` diff --git a/pkg/apis/options/load_test.go b/pkg/apis/options/load_test.go index 53954d60..f82395cc 100644 --- a/pkg/apis/options/load_test.go +++ b/pkg/apis/options/load_test.go @@ -414,6 +414,7 @@ sub: } else { input = &TestOptions{} } + err := LoadYAML(configFileName, input) if in.expectedErr != nil { Expect(err).To(MatchError(in.expectedErr.Error())) diff --git a/pkg/apis/options/providers.go b/pkg/apis/options/providers.go index 8480dc35..a90b584c 100644 --- a/pkg/apis/options/providers.go +++ b/pkg/apis/options/providers.go @@ -85,6 +85,7 @@ type Provider struct { AllowedGroups []string `json:"allowedGroups,omitempty"` // The code challenge method CodeChallengeMethod string `json:"code_challenge_method,omitempty"` + // URL to call to perform backend logout, `{id_token}` would be replaced by the actual `id_token` if available in the session BackendLogoutURL string `json:"backendLogoutURL"` } diff --git a/pkg/apis/sessions/session_state.go b/pkg/apis/sessions/session_state.go index 43075adc..bba7e66d 100644 --- a/pkg/apis/sessions/session_state.go +++ b/pkg/apis/sessions/session_state.go @@ -31,9 +31,10 @@ type SessionState struct { IntrospectClaims string `msgpack:"ic,omitempty"` // Internal helpers, not serialized - Clock clock.Clock `msgpack:"-"` - Lock Lock `msgpack:"-"` - SessionJustRefreshed bool `msgpack:"-"` + Clock clock.Clock `msgpack:"-"` + Lock Lock `msgpack:"-"` + + SessionJustRefreshed bool `msgpack:"-"` } func (s *SessionState) ObtainLock(ctx context.Context, expiration time.Duration) error { diff --git a/pkg/app/pagewriter/error.html b/pkg/app/pagewriter/error.html index be8bca92..86df3272 100644 --- a/pkg/app/pagewriter/error.html +++ b/pkg/app/pagewriter/error.html @@ -5,8 +5,8 @@