Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send HTTP 401 for invalid_token, rather than insufficient_scope #186

Merged

Conversation

shadowhand
Copy link
Member

Incorrectly read the spec or possibly copy/paste fail, but the new resource server error handling should be using 403 for scope and 401 for token.

@shadowhand
Copy link
Member Author

Coveralls is either being laggy or lazy, here's the report: https://coveralls.io/jobs/2252699

philsturgeon pushed a commit that referenced this pull request Jul 15, 2014
Send HTTP 401 for invalid_token, rather than insufficient_scope
@philsturgeon philsturgeon merged commit 7771bc0 into thephpleague:develop Jul 15, 2014
@philsturgeon
Copy link
Member

Thanks @shadowhand.

@shadowhand shadowhand deleted the resource-server-correct-http-error branch July 15, 2014 14:44
@shadowhand
Copy link
Member Author

@philsturgeon and a new tag too please?

@philsturgeon
Copy link
Member

Done and done sir.

@shadowhand
Copy link
Member Author

@philsturgeon thank you sir!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants