OIDCClient watcher controller updates based on PR feedback

This commit is contained in:
Ryan Richard
2022-07-06 10:34:24 -07:00
parent 43a76648d5
commit 93939ccbd8
30 changed files with 496 additions and 196 deletions

View File

@@ -506,7 +506,7 @@ func TestOIDCClientControllerValidations_Parallel(t *testing.T) {
Type: "AllowedScopesValid",
Status: "False",
Reason: "MissingRequiredValue",
Message: `"openid" must always be included in "allowedScopes"`,
Message: `"openid" must always be included in "allowedScopes"; "offline_access" must be included in "allowedScopes" when "refresh_token" is included in "allowedGrantTypes"`,
},
{
Type: "ClientSecretExists",