One line fix to the supervisor warnings test
Make the scopes in the cache key include the new groups scope Signed-off-by: Margo Crawford <margaretc@vmware.com>
This commit is contained in:
parent
f13c5e3f06
commit
98b0b6b21c
@ -485,7 +485,7 @@ func TestSupervisorWarnings_Browser(t *testing.T) {
|
||||
}))
|
||||
|
||||
// construct the cache key
|
||||
downstreamScopes := []string{coreosoidc.ScopeOfflineAccess, coreosoidc.ScopeOpenID, "pinniped:request-audience"}
|
||||
downstreamScopes := []string{coreosoidc.ScopeOfflineAccess, coreosoidc.ScopeOpenID, "pinniped:request-audience", "groups"}
|
||||
sort.Strings(downstreamScopes)
|
||||
sessionCacheKey := oidcclient.SessionCacheKey{
|
||||
Issuer: downstream.Spec.Issuer,
|
||||
|
Loading…
Reference in New Issue
Block a user