dhagz/oauth

Error response in Sample OAuth Provider when token expired

Opened this issue · 1 comments

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

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