mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Update Gitlab.md
This commit is contained in:
@@ -12,10 +12,12 @@ The following steps can be used to configure Mattermost to use GitLab as a singl
|
||||
3. Submit the application and copy the given _Id_ and _Secret_ into the appropriate _SSOSettings_ fields in config/config.json
|
||||
|
||||
4. Also in config/config.json, set _Allow_ to `true` for the _gitlab_ section, leave _Scope_ blank and use the following for the endpoints:
|
||||
* _AuthEndpoint_: `<your-gitlab-url>/oauth/authorize` (example http://localhost:3000/oauth/authorize)
|
||||
* _TokenEndpoint_: `<your-gitlab-url>/oauth/token`
|
||||
* _UserApiEndpoint_: `<your-gitlab-url>/api/v3/user`
|
||||
* _AuthEndpoint_: `https://<your-gitlab-url>/oauth/authorize` (example https://example.com/oauth/authorize)
|
||||
* _TokenEndpoint_: `https://<your-gitlab-url>/oauth/token`
|
||||
* _UserApiEndpoint_: `https://<your-gitlab-url>/api/v3/user`
|
||||
|
||||
Note: Make sure your `HTTPS` or `HTTP` prefix for endpoint URLs matches how your server configuration.
|
||||
|
||||
6. (Optional) If you would like to force all users to sign-up with GitLab only, in the _ServiceSettings_ section of config/config.json please set _DisableEmailSignUp_ to `true`.
|
||||
5. (Optional) If you would like to force all users to sign-up with GitLab only, in the _ServiceSettings_ section of config/config.json please set _DisableEmailSignUp_ to `true`.
|
||||
|
||||
7. Restart your Mattermost server to see the changes take effect.
|
||||
6. Restart your Mattermost server to see the changes take effect.
|
||||
|
||||
Reference in New Issue
Block a user