fix(op): add scope to access token scope (#664)
This commit is contained in:
parent
8afb8b8d5f
commit
897c720070
7 changed files with 14 additions and 9 deletions
|
@ -232,7 +232,7 @@ func TestRoutes(t *testing.T) {
|
|||
"scope": oidc.SpaceDelimitedArray{oidc.ScopeOpenID, oidc.ScopeOfflineAccess}.String(),
|
||||
},
|
||||
wantCode: http.StatusOK,
|
||||
contains: []string{`{"access_token":"`, `","token_type":"Bearer","expires_in":299}`},
|
||||
contains: []string{`{"access_token":"`, `","token_type":"Bearer","expires_in":299,"scope":"openid offline_access"}`},
|
||||
},
|
||||
{
|
||||
// This call will fail. A successful test is already
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue