Mattermost, Inc.

API authentication when using Gitlab SSO


I’ve got Mattermost running as part of a Gitlab installation. Gitlab sign-on is working and is currently the only enabled authentication mechanism for users. Gitlab itself authenticates against another SSO provider used across other applications.

In an effort to automate user onboarding, I’m trying to invite newly created users to join teams in Mattermost.

  1. How should I authenticate to the API server when using Gitlab as SSO?
  2. Any pointers to documentation for inviting/removing users to/from teams would be extremely appreciated.

Hi @mwcoop, this doc might help: