Merge pull request #1027 from mattermost/check-https

Updating SSO help on HTTP/HTTPS
Этот коммит содержится в:
Corey Hulen
2015-10-13 09:51:55 -07:00
родитель 1dbc6c5d0e b2b641bb11
Коммит a2979924a4
3 изменённых файлов: 15 добавлений и 13 удалений

Просмотреть файл

@@ -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.