oauth2-server/tests/fuzz/tokeninfo-no-invalid-token.yml
2014-08-04 09:12:00 +01:00

18 lines
437 B
YAML

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