Skip to content

Commit

Permalink
fix(aud-scopes): rename test JWT aud field to scope
Browse files Browse the repository at this point in the history
  • Loading branch information
vpsx committed May 25, 2021
1 parent 14a3eea commit a5661f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arborist/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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": {
Expand Down

0 comments on commit a5661f5

Please sign in to comment.