Hi there. So I’m trying to authenticate via OAuth2 using credentials only as described here: OAuth 2.0 identity provider API | GitLab
I’m sending this in a POST request to https://xxxx.xxxx.net/oauth/token
{
“grant_type” : “password”,
“username” : “xxxx@xxxx.de”,
“password” : “xxxx”
}
and I’m getting this in the response:
{
“access_token”: “xxxxx”,
“token_type”: “bearer”,
“refresh_token”: “xxxxx”,
“scope”: “api”,
“created_at”: 1435333191
}
…which is different from the response documented in the link above. It’s missing expires_in (and also returns refresh_token, scope and created_at which aren’t documented there).