diff options
author | it33 <iantien@gmail.com> | 2015-10-13 05:13:03 -0700 |
---|---|---|
committer | it33 <iantien@gmail.com> | 2015-10-13 05:13:03 -0700 |
commit | 315924d41c913856e05e82cfb864d4c6458e5f74 (patch) | |
tree | 0f69a3e4ab37de4f2a706d5a4d8f7685b5017593 /doc/integrations | |
parent | 2663cede2b16293abe1b29dddf56cc7378a58efe (diff) | |
download | chat-315924d41c913856e05e82cfb864d4c6458e5f74.tar.gz chat-315924d41c913856e05e82cfb864d4c6458e5f74.tar.bz2 chat-315924d41c913856e05e82cfb864d4c6458e5f74.zip |
Update Gitlab.md
Diffstat (limited to 'doc/integrations')
-rw-r--r-- | doc/integrations/Single-Sign-On/Gitlab.md | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/integrations/Single-Sign-On/Gitlab.md b/doc/integrations/Single-Sign-On/Gitlab.md index 87889df66..e503a158b 100644 --- a/doc/integrations/Single-Sign-On/Gitlab.md +++ b/doc/integrations/Single-Sign-On/Gitlab.md @@ -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. |