Quantcast
Channel: Mattermost Discussion Forums - Latest posts
Viewing all articles
Browse latest Browse all 25778

How to use generic OAuth2 with Gitlab provider

$
0
0

Hello all,

I use Drupal's OAuth2 login provider. As far as I can tell, GitLab uses a completely standard OAuth2 implementation.I seem to have made significant headway using GitLab's SSO for mattermost so far, but am now stuck with the following error:

Bad response from token request

The associated log entry is:

[EROR] /signup/gitlab/complete:AuthorizeOAuthUser code=500 rid=yfd81kqxwqsdf2dfrqfsgy uid= ip=x.x.x.x Bad response from token request [details: ]

I'm not entirely sure how to further debug: Any advice on how to do this? Here are my current settings:

User API Endpoint: https://MYSITE/oauth2/user/profile
Auth Endpoint: https://MYSITE/oauth2/authorize
Token Endpoint: https://MYSITE/oauth2/token

I'm actually not sure how to test to see what the sequence is or what output is coming. I've set the log output to debug, but it's only as above.

Any ideas or hints?


Viewing all articles
Browse latest Browse all 25778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>