rshf / oauth

Automatically exported from code.google.com/p/oauth
0 stars 0 forks source link

Error response in Sample OAuth Provider when token expired #219

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
See getAccessor method of SampleOAuthProvider.java
As OAuth 1.0a specfication, if having error with invalid or expired token, 
provider must response with code 401.

This Sample provider need to set parameter 
OAuthProblemException.HTTP_STATUS_CODE 401 for OAuthProblemException

Original issue reported on code.google.com by NguyenAnhKien2a@gmail.com on 12 Jan 2012 at 10:04

GoogleCodeExporter commented 9 years ago
Sorry, i miss seeing TO_HTTP_CODE mapping. this issue should be closed

Original comment by NguyenAnhKien2a@gmail.com on 12 Jan 2012 at 10:30