jwt: correct the test expect
This commit is contained in:
parent
0200c2302f
commit
a1a6c199f6
1 changed files with 2 additions and 2 deletions
|
@ -144,8 +144,8 @@ func TestServerRoutes(t *testing.T) {
|
|||
"scope": oidc.SpaceDelimitedArray{oidc.ScopeOpenID, oidc.ScopeOfflineAccess}.String(),
|
||||
"assertion": jwtProfileToken,
|
||||
},
|
||||
wantCode: http.StatusBadRequest,
|
||||
json: "{\"error\":\"server_error\",\"error_description\":\"audience is not valid: Audience must contain client_id \\\"https://localhost:9998/\\\"\"}",
|
||||
wantCode: http.StatusOK,
|
||||
contains: []string{`{"access_token":`, `"token_type":"Bearer","expires_in":299}`},
|
||||
},
|
||||
{
|
||||
name: "Token exchange",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue