From a5661f5450fd79645a7488e8b1cc1aaa59f3f18e Mon Sep 17 00:00:00 2001 From: vpsx <19900057+vpsx@users.noreply.github.com> Date: Tue, 25 May 2021 16:07:06 -0500 Subject: [PATCH] fix(aud-scopes): rename test JWT aud field to scope --- arborist/server_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arborist/server_test.go b/arborist/server_test.go index 1dafcf72..5c1e7459 100644 --- a/arborist/server_test.go +++ b/arborist/server_test.go @@ -87,7 +87,7 @@ func (testJWT *TestJWT) Encode() string { if testJWT.policies == nil || len(testJWT.policies) == 0 { payload = []byte(fmt.Sprintf( `{ - "aud": ["openid"], + "scope": ["openid"], "exp": %d, "sub": "0", "context": { @@ -105,7 +105,7 @@ func (testJWT *TestJWT) Encode() string { policies := fmt.Sprintf(`["%s"]`, strings.Join(testJWT.policies, `", "`)) payload = []byte(fmt.Sprintf( `{ - "aud": ["openid"], + "scope": ["openid"], "exp": %d, "sub": "0", "context": {