I authenticated the REST server and got a token in the cookies. This token allowed access to the REST server, but I want to interact with the authentication service.
Github responses with that message
{
"message": "Bad credentials",
"documentation_url": "https://developer.github.com/v3"
}
Gitlab returns only
401 (Unauthorized)
I'm using token returned from cookies as HTTP header
Authorization: `token`
Authorization: bearer `token`
Authorization: token `token`