From 315924d41c913856e05e82cfb864d4c6458e5f74 Mon Sep 17 00:00:00 2001 From: it33 Date: Tue, 13 Oct 2015 05:13:03 -0700 Subject: Update Gitlab.md --- doc/integrations/Single-Sign-On/Gitlab.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'doc/integrations') 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_: `/oauth/authorize` (example http://localhost:3000/oauth/authorize) - * _TokenEndpoint_: `/oauth/token` - * _UserApiEndpoint_: `/api/v3/user` + * _AuthEndpoint_: `https:///oauth/authorize` (example https://example.com/oauth/authorize) + * _TokenEndpoint_: `https:///oauth/token` + * _UserApiEndpoint_: `https:///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. -- cgit v1.2.3-1-g7c22