Update TestNullStorage_GetClient with adjusted pinniped-cli scopes.

Signed-off-by: Matt Moyer <moyerm@vmware.com>
This commit is contained in:
Matt Moyer 2020-12-09 09:12:32 -06:00
parent 6420caca94
commit 5f1bd5ec31
No known key found for this signature in database
GPG Key ID: EAE88AD172C5AE2D

View File

@ -28,7 +28,7 @@ func TestNullStorage_GetClient(t *testing.T) {
RedirectURIs: []string{"http://127.0.0.1/callback"},
ResponseTypes: []string{"code"},
GrantTypes: []string{"authorization_code", "refresh_token", "urn:ietf:params:oauth:grant-type:token-exchange"},
Scopes: []string{"openid", "offline_access", "profile", "email"},
Scopes: []string{"openid", "offline_access", "profile", "email", "pinniped.sts.unrestricted"},
},
TokenEndpointAuthMethod: "none",
},