diff options
Diffstat (limited to 'doc/integrations')
-rw-r--r-- | doc/integrations/Single-Sign-On/Gitlab.md | 2 | ||||
-rw-r--r-- | doc/integrations/webhooks/Incoming.md | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/integrations/Single-Sign-On/Gitlab.md b/doc/integrations/Single-Sign-On/Gitlab.md index 6110db504..87889df66 100644 --- a/doc/integrations/Single-Sign-On/Gitlab.md +++ b/doc/integrations/Single-Sign-On/Gitlab.md @@ -6,6 +6,8 @@ The following steps can be used to configure Mattermost to use GitLab as a singl 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 _SSOSettings_ fields in config/config.json diff --git a/doc/integrations/webhooks/Incoming.md b/doc/integrations/webhooks/Incoming.md index 6e25f182e..0814eb420 100644 --- a/doc/integrations/webhooks/Incoming.md +++ b/doc/integrations/webhooks/Incoming.md @@ -56,7 +56,7 @@ payload={"channel": "off-topic", "text": "Hello, this is some text."} Combining everything above, here is an example message made using a curl command: ``` -curl -i -X POST 'payload={"channel": "off-topic", "text": "Hello, this is some text."}' http://yourmattermost.com/hooks/xxxxxxxxxxxxxxxxxxxxxxxxxx +curl -i -X POST -d 'payload={"channel": "off-topic", "text": "Hello, this is some text."}' http://yourmattermost.com/hooks/xxxxxxxxxxxxxxxxxxxxxxxxxx ``` A post with that text will be made to the Off-Topic channel. |