Quantcast
Channel: Trouble Shooting - Mattermost Peer-to-Peer Forum
Viewing all articles
Browse latest Browse all 327

Impossible to log-in using v4/api

$
0
0

@alexandremichaud wrote:

Hi,
I post here because i didn’t find any solutions for my issues.
My mattermost configuration only accept the log-in via GitLab.
GitLab is already configured and i can log-in , create chanels, and send some messages,
but i would like my own app access to those kind of messages.
For that i planned to use these api:
https://myMattermostAdress/api/v4/users/login and post my login info :
{
“login_id”:“A_USER”,
“password”:“A_PASSWORD”
}

But it gives me these answer :

{“id”:“api.user.login.use_auth_service.app_error”,“message”:“Please sign in using gitlab”,“detailed_error”:"",“request_id”:“89erzzp3c7ngbkpf9wcbrrt1do”,“status_code”:400}

And i don’t know how to solve it. I specify that i read all the api’s documentation concerning OAuth but that doesn’t help me…
So i ask for your help because i’m stuck and this is very frustrating.

Thanks in advance, Alexandre

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 327

Trending Articles