grant_type should not be case sensitive
Created by: jerryleooo
I follow the instructions of https://github.com/gitlabhq/gitlabhq/blob/master/doc/api/oauth2.md, and when I use 'AUTHORIZATION_CODE' as grant_type, the server sends
{
"error": "unsupported_grant_type",
"error_description": "The authorization grant type is not supported by the authorization server."
}
back to me, and when I use 'authorization_code' as grant_type, it works.
So, either correct the doc or add support for upper case. Thanks