diff --git a/internal/configuration/validator/identity_providers_test.go b/internal/configuration/validator/identity_providers_test.go index e00b76141..edd438b32 100644 --- a/internal/configuration/validator/identity_providers_test.go +++ b/internal/configuration/validator/identity_providers_test.go @@ -1884,11 +1884,11 @@ func TestValidateOIDCClients(t *testing.T) { "ShouldRaiseErrorOnInvalidTokenAuthAlgClientTypeConfidential", func(have *schema.OpenIDConnectConfiguration) { have.Clients[0].TokenEndpointAuthMethod = oidc.ClientAuthMethodClientSecretJWT - have.Clients[0].TokenEndpointAuthSigningAlg = "abcinvalid" + have.Clients[0].TokenEndpointAuthSigningAlg = "abc" have.Clients[0].Secret = MustDecodeSecret("$plaintext$abc123") }, func(t *testing.T, have *schema.OpenIDConnectConfiguration) { - assert.Equal(t, "abcinvalid", have.Clients[0].TokenEndpointAuthSigningAlg) + assert.Equal(t, "abc", have.Clients[0].TokenEndpointAuthSigningAlg) }, tcv{ nil,