diff options
author | Claudius | 2019-03-31 16:02:05 +0200 |
---|---|---|
committer | Claudius | 2019-04-01 01:03:36 +0200 |
commit | edf301cfa320cce48eaf055a57f416bc1aa6ee1e (patch) | |
tree | 34e583fedcbce75bb3d4409cc5e21b3c18226b9f /docs/guides/auth/mattermost-self-hosted.md | |
parent | 3a0ff5edd3882cca3751bcfbca1843807ef0c7d7 (diff) |
splitting README.md into files in /docs for better readability
Signed-off-by: Claudius <opensource@amenthes.de>
Diffstat (limited to 'docs/guides/auth/mattermost-self-hosted.md')
-rw-r--r-- | docs/guides/auth/mattermost-self-hosted.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/guides/auth/mattermost-self-hosted.md b/docs/guides/auth/mattermost-self-hosted.md index 631aabd3..e3050595 100644 --- a/docs/guides/auth/mattermost-self-hosted.md +++ b/docs/guides/auth/mattermost-self-hosted.md @@ -8,22 +8,22 @@ This guide uses the generic OAuth2 module for compatibility with Mattermost vers 1. Sign-in with an administrator account to your Mattermost instance 2. Make sure **OAuth 2.0 Service Provider** is enabled in the Main Menu (menu button next to your username in the top left corner) --> System Console --> Custom Integrations menu, which you can find at `https://your.mattermost.domain/admin_console/integrations/custom` -![mattermost-enable-oauth2](../images/auth/mattermost-enable-oauth2.png) +![mattermost-enable-oauth2](../../images/auth/mattermost-enable-oauth2.png) 3. Navigate to the OAuth integration settings through Main Menu --> Integrations --> OAuth 2.0 Applications, at `https://your.mattermost.domain/yourteam/integrations/oauth2-apps` 4. Click on the **Add OAuth 2.0 Application** button to add a new OAuth application -![mattermost-oauth-app-add](../images/auth/mattermost-oauth-app-add.png) +![mattermost-oauth-app-add](../../images/auth/mattermost-oauth-app-add.png) 5. Fill out the form and click **Save** -![mattermost-oauth-app-form](../images/auth/mattermost-oauth-app-form.png) +![mattermost-oauth-app-form](../../images/auth/mattermost-oauth-app-form.png) *Note: The callback URL is \<your-codimd-url\>/auth/oauth2/callback* 6. After saving the application, you'll receive the Client ID and Client Secret -![mattermost-oauth-app-done](../images/auth/mattermost-oauth-app-done.png) +![mattermost-oauth-app-done](../../images/auth/mattermost-oauth-app-done.png) 7. Add the Client ID and Client Secret to your config.json file or pass them as environment variables * config.json: |