diff options
Diffstat (limited to 'doc/integrations/Single-Sign-On')
-rw-r--r-- | doc/integrations/Single-Sign-On/GitHub-Enterprise.md | 20 | ||||
-rw-r--r-- | doc/integrations/Single-Sign-On/GitHub.md | 24 | ||||
-rw-r--r-- | doc/integrations/Single-Sign-On/Gitlab.md | 23 |
3 files changed, 0 insertions, 67 deletions
diff --git a/doc/integrations/Single-Sign-On/GitHub-Enterprise.md b/doc/integrations/Single-Sign-On/GitHub-Enterprise.md deleted file mode 100644 index 6f6633846..000000000 --- a/doc/integrations/Single-Sign-On/GitHub-Enterprise.md +++ /dev/null @@ -1,20 +0,0 @@ -## Configuring GitHub Enterprise Single-Sign-On (unofficial) - -Note: Because the authentication interface of GitHub Enterprise is similar to that of GitLab, the GitLab SSO feature can be used to unofficially also support GitHub Enterprise SSO. - -Follow these steps to configure Mattermost to use Github Enterprise as a single-sign-on (SSO) service for team creation, account creation and sign-in using the GitLab SSO interface. - -1. Login to your GitHub Enterprise account and go to the Applications section in Profile Settings. -2. Add a new application called "Mattermost" with the following as Authorization callback URL: - * `<your-mattermost-url>` (example: http://localhost:8065) - -3. Submit the application and copy the given _Id_ and _Secret_ into the appropriate _GitLabSettings_ fields in config/config.json - -4. Also in config/config.json, set _Enable_ to `true` for the _gitlab_ section, leave _Scope_ blank and use the following for the endpoints: - * _AuthEndpoint_: `https://<your-github-enterprise-url>/oauth/authorize` (example https://github.com/oauth/authorize) - * _TokenEndpoint_: `https://<your-github-enterprise-url>/oauth/access_token` - * _UserApiEndpoint_: `https://<your-github-enterprise-url>/api/v3/user` - -5. (Optional) If you would like to force all users to sign-up with GitHub Enterprise only, in the _ServiceSettings_ section of config/config.json set _DisableEmailSignUp_ to `true`. - -6. Restart your Mattermost server to see the changes take effect. diff --git a/doc/integrations/Single-Sign-On/GitHub.md b/doc/integrations/Single-Sign-On/GitHub.md deleted file mode 100644 index 56e2d1c72..000000000 --- a/doc/integrations/Single-Sign-On/GitHub.md +++ /dev/null @@ -1,24 +0,0 @@ -## Configuring GitHub Single-Sign-On (unofficial) - -Note: Because the authentication interface of GitHub is similar to that of GitLab, the GitLab SSO feature can be used to unofficially also support GitHub SSO. - -Follow these steps to configure Mattermost to use Github as a single-sign-on (SSO) service for team creation, account creation and sign-in using the GitLab SSO interface. - -1. Login to your GitHub account and go to the Applications section in Profile Settings. -2. Add a new application called "Mattermost" with the following as Authorization callback URL: - * `<your-mattermost-url>` (example: http://localhost:8065) - -3. Submit the application and copy the given _Id_ and _Secret_ into the appropriate _GitLabSettings_ fields in config/config.json - -4. Also in config/config.json, set _Enable_ to `true` for the _gitlab_ section, leave _Scope_ blank and use the following for the endpoints: - * _AuthEndpoint_: `https://github.com/login/oauth/authorize` - * _TokenEndpoint_: `https://github.com/login/oauth/access_token` - * _UserApiEndpoint_: `https://api.github.com/user` - -6. (Optional) If you would like to force all users to sign-up with GitHub only, -in the _ServiceSettings_ section of config/config.json set _DisableEmailSignUp_ -to `true`. - -6. Restart your Mattermost server to see the changes take effect. - -7. Tell the users to set their public email for GitHub at the [Public profile page](https://github.com/settings/profile). Mattermost uses the email to create account. diff --git a/doc/integrations/Single-Sign-On/Gitlab.md b/doc/integrations/Single-Sign-On/Gitlab.md deleted file mode 100644 index f0acc0e66..000000000 --- a/doc/integrations/Single-Sign-On/Gitlab.md +++ /dev/null @@ -1,23 +0,0 @@ -## Configuring GitLab Single-Sign-On - -Follow these steps to configure Mattermost to use GitLab as a single-sign-on (SSO) service for team creation, account creation and sign-in. - -1. Login to your GitLab account and go to the Applications section either in Profile Settings or Admin Area. -2. Add a new application called "Mattermost" with the following as Redirect URIs: - * `<your-mattermost-url>/login/gitlab/complete` (example: http://localhost:8065/login/gitlab/complete) - * `<your-mattermost-url>/signup/gitlab/complete` - - (Note: If your GitLab instance is set up to use SSL, your URIs must begin with https://. Otherwise, use http://). - -3. Submit the application and copy the given _Id_ and _Secret_ into the appropriate _GitLabSettings_ fields in config/config.json - -4. Also in config/config.json, set _Enable_ to `true` for the _gitlab_ section, leave _Scope_ blank and use the following for the endpoints: - * _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 your server configuration. - -5. (Optional) If you would like to force all users to sign-up with GitLab only, in the _ServiceSettings_ section of config/config.json set _DisableEmailSignUp_ to `true`. - -6. Restart your Mattermost server to see the changes take effect. |