Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Invalid
-
oauth2-1.0.2
-
None
-
None
Description
According to RFC 6750 - 3.1. Error Codes, the following error should SHOULD respond with the HTTP 401 (Unauthorized) status code, I think. What do you think?
Request | Response Status Code Actual | Expected | Response Body Actual | Expected |
---|---|---|---|---|
Invalid token | 400 | 401 | {"WWW-Authenticate":"Bearer error=\"invalid_token\""} | {"WWW-Authenticate":"Bearer error=\"invalid_token\""} |
Thanks