zf-fr / zfr-oauth2-server

PHP library for creating an OAuth 2 server (currently proof of concept)
BSD 3-Clause "New" or "Revised" License
36 stars 13 forks source link

Invalid token error #88

Closed basz closed 7 years ago

basz commented 7 years ago

returned payload by resource middleware is now

{"error" : "invalid_token", "error_description": "Access token has expired or has been deleted"}

instead of

{"error": "Access token has expired or has been deleted"}

Resource server still returns an InvalidAccessTokenException but now has a string code of invalid_token

prolic commented 7 years ago

Merge when travis is good.

coveralls commented 7 years ago

Coverage Status

Coverage decreased (-0.8%) to 99.167% when pulling da6b8e975c14ae3722219ce3894e4395608582a7 on basz:invalid-token-error into 470eea74277ed2b54cc7ec968bbf61377ca33660 on zf-fr:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling f7b0f03cb01c45747259afb0bd83eb02d341face on basz:invalid-token-error into 470eea74277ed2b54cc7ec968bbf61377ca33660 on zf-fr:master.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling f7b0f03cb01c45747259afb0bd83eb02d341face on basz:invalid-token-error into 470eea74277ed2b54cc7ec968bbf61377ca33660 on zf-fr:master.