From 5f1bd5ec31b4d96d34417d5d3c7b39f008f1d819 Mon Sep 17 00:00:00 2001 From: Matt Moyer Date: Wed, 9 Dec 2020 09:12:32 -0600 Subject: [PATCH] Update TestNullStorage_GetClient with adjusted pinniped-cli scopes. Signed-off-by: Matt Moyer --- internal/oidc/nullstorage_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/oidc/nullstorage_test.go b/internal/oidc/nullstorage_test.go index 62f25cab..523aafb5 100644 --- a/internal/oidc/nullstorage_test.go +++ b/internal/oidc/nullstorage_test.go @@ -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", },