diff --git a/main_test.go b/main_test.go index 7ecf419b..5bce6335 100644 --- a/main_test.go +++ b/main_test.go @@ -77,6 +77,7 @@ providers: insecureSkipNonce: true audienceClaims: [aud] extraAudiences: [] + cookieRefreshName: 'hsdpamcookie' loginURLParameters: - name: approval_prompt default: @@ -151,14 +152,13 @@ redirect_url="http://localhost:4180/oauth2/callback" Tenant: "common", }, OIDCConfig: options.OIDCOptions{ - GroupsClaim: "groups", - EmailClaim: "email", - UserIDClaim: "email", - AudienceClaims: []string{"aud"}, - ExtraAudiences: []string{}, - InsecureSkipNonce: true, - EnableCookieRefresh: false, - CookieRefreshName: "hsdpamcookie", + GroupsClaim: "groups", + EmailClaim: "email", + UserIDClaim: "email", + AudienceClaims: []string{"aud"}, + ExtraAudiences: []string{}, + InsecureSkipNonce: true, + CookieRefreshName: "hsdpamcookie", }, LoginURLParameters: []options.LoginURLParameter{ {Name: "approval_prompt", Default: []string{"force"}}, diff --git a/pkg/apis/options/load_test.go b/pkg/apis/options/load_test.go index a43c9b84..cface514 100644 --- a/pkg/apis/options/load_test.go +++ b/pkg/apis/options/load_test.go @@ -36,16 +36,14 @@ var _ = Describe("Load", func() { }, LegacyProvider: LegacyProvider{ - ProviderType: "google", - AzureTenant: "common", - ApprovalPrompt: "force", - UserIDClaim: "email", - OIDCEmailClaim: "email", - OIDCGroupsClaim: "groups", - OIDCAudienceClaims: []string{"aud"}, - InsecureOIDCSkipNonce: true, - OIDCEnableCookieRefresh: false, - OIDCCookieRefreshName: "hsdpamcookie", + ProviderType: "google", + AzureTenant: "common", + ApprovalPrompt: "force", + UserIDClaim: "email", + OIDCEmailClaim: "email", + OIDCGroupsClaim: "groups", + OIDCAudienceClaims: []string{"aud"}, + InsecureOIDCSkipNonce: true, }, Options: Options{