oauth2-server/tests/fuzz/tokeninfo-no-invalid-token.yml
2014-08-04 15:18:55 +01:00

20 lines
474 B
YAML

url: 'http://localhost:8000/api.php/tokeninfo'
request:
method: GET
headers:
-
key: Authorization
value: Bearer foobar
response:
statusCode: 401
headers:
-
key: Content-type
value: application/json
body:
-
key: error
value: "access_denied"
-
key: message
value: "The resource owner or authorization server denied the request."