Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.5.0-beta2
Description
In the newest version of the OAuth2 spec, the language around the behavior for failure when using a refresh token has been made more explicit.
See: http://tools.ietf.org/html/draft-ietf-oauth-v2-26#section-6
Also see: http://tools.ietf.org/html/draft-ietf-oauth-v2-26#section-5.2
Currently in BasicOAuth2Request we only check for a 401 response to indicate that the refresh token is "bad" and should be discarded. The updated spec language indicates that a 400 is also a valid response to indicate a bad refresh token.