oauth2-server-php icon indicating copy to clipboard operation
oauth2-server-php copied to clipboard

Incorrect response code for user credentials grant type

Open SventB opened this issue 7 years ago • 0 comments

The status code 401 introduced in #290 was wrong, it should be 400, see https://tools.ietf.org/html/rfc6749#section-5.2, but see especially https://stackoverflow.com/questions/22586825/oauth-2-0-why-does-the-authorization-server-return-400-instead-of-401-when-the and https://www.ietf.org/mail-archive/web/oauth/current/msg02127.html

SventB avatar Mar 27 '18 09:03 SventB