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

Console log on POST with invalid access_token #8

Closed
wtogami opened this issue May 3, 2014 · 2 comments
Closed

Console log on POST with invalid access_token #8

wtogami opened this issue May 3, 2014 · 2 comments

Comments

@wtogami
Copy link
Collaborator

wtogami commented May 3, 2014

Currently if you post with an invalid access_token the console log is silent. It should probably log the error starting with the IP address of the rejected client.

@wtogami
Copy link
Collaborator Author

wtogami commented May 3, 2014

Failed POST responds with Access Denied: Invalid access token. which is correct and HTTP/1.1 200 OK which could be improved.

@akinsey
Copy link
Member

akinsey commented May 4, 2014

I can make it respond with a 401 Unauthorized instead.

@akinsey akinsey closed this as completed in 04a1696 May 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants