gitlab-org--gitlab-foss/doc/integration
Achilleas Pipinellis 448c19aab1 Merge branch 'patch-1' into 'master'
Update github.md

Hi, I ran into a few pitfalls while I enabled OmniAuth to be able to migrate repos from github to my omnibus-gitlab instance today, so here are my findings:

These docs state thate the default authorization callback URL is `'${YOUR_DOMAIN}/import/github/callback'`, but the screenshot only shows `'${YOUR_DOMAIN}'`, which works, so I removed the ambiguity.

When editing `gitlab_rails['omniauth_providers']` for github.com, you have to omit the `"url" => "https://github.com/",` part, otherwise it won't work (OmniAuth will stay deactivated). This is backed by the configuration details of the "from-source-installation" which also omits the url in the `yml` file.

After changing the `gitlab.rb` file, `sudo gitlab-ctl reconfigure` needs to be run, which is missing in the docs.

Following the updated version of this documentation I was able to enable OmniAuth.

If anything I edited is wrong, please correct me, as I don't know how the "from-source-installations" would react to my changes.

Best regards,
Florian

See merge request !4072
2016-11-22 20:26:58 +00:00
..
img Reduce size of images from 25MB to 13MB using pngquant 2016-11-22 19:53:43 +01:00
akismet.md Updated Akismet documentation 2016-08-16 17:13:01 -05:00
auth0.md Added omniauth-auth0 Gem + Applicable Documentation. 2016-03-16 13:12:20 +01:00
azure.md Enable Microsoft Azure OAuth2 support 2016-01-06 14:30:43 +01:00
bitbucket.md More Bitbucket integration refactoring 2016-08-30 17:52:14 +02:00
cas.md Update cas.md to reflect the current syntax, and added that gitlab-ctl reconfigure should be run. 2016-04-21 10:30:27 +00:00
crowd.md Fix typos in integration docs 2015-12-07 10:28:47 +01:00
external-issue-tracker.md Added Bugzilla as external issue tracker option 2016-06-29 06:01:54 -04:00
facebook.md Move all integration docs images in a single directory 2016-01-24 21:22:19 +01:00
github.md Update github.md 2016-10-21 14:57:15 +02:00
gitlab.md Fix escaped angle bracket's in integration documentation. 2016-05-12 10:48:34 -04:00
gmail_action_buttons_for_gitlab.md Move all integration docs images in a single directory 2016-01-24 21:22:19 +01:00
google.md Update Google integration API workflow 2016-05-23 18:35:04 +00:00
ldap.md Fix LDAP link and codeblock indentation 2016-04-05 17:04:16 +03:00
oauth_provider.md Include default callback URL (OAuth) 2016-07-14 09:10:15 +00:00
omniauth.md Refactor Bitbucket integration documentation 2016-08-30 15:42:40 +02:00
README.md Move JIRA service doc back to its old location 2016-11-22 13:05:58 +01:00
recaptcha.md reCAPTCHA is configurable through Admin Settings, no reload needed. 2015-12-28 18:50:29 -02:00
saml.md fix how to get SAML error details 2016-10-31 21:35:34 -07:00
shibboleth.md Use GitLab.com link, remove GitHub link 2016-11-11 06:30:33 +00:00
slack.md Refactor Slack service documentation 2016-07-22 12:37:05 +03:00
twitter.md Fix escaped angle bracket's in integration documentation. 2016-05-12 10:48:34 -04:00

GitLab Integration

GitLab integrates with multiple third-party services to allow external issue trackers and external authentication.

See the documentation below for details on how to configure these services.

  • JIRA Integrate with the JIRA issue tracker
  • External issue tracker Redmine, JIRA, etc.
  • LDAP Set up sign in via LDAP
  • OmniAuth Sign in via Twitter, GitHub, GitLab.com, Google, Bitbucket, Facebook, Shibboleth, SAML, Crowd and Azure
  • SAML Configure GitLab as a SAML 2.0 Service Provider
  • CAS Configure GitLab to sign in using CAS
  • OAuth2 provider OAuth2 application creation
  • Gmail actions buttons Adds GitLab actions to messages
  • reCAPTCHA Configure GitLab to use Google reCAPTCHA for new users
  • Akismet Configure Akismet to stop spam
  • Koding Configure Koding to use IDE integration

GitLab Enterprise Edition contains advanced Jenkins support.

Project services

Integration with services such as Campfire, Flowdock, Gemnasium, HipChat, Pivotal Tracker, and Slack are available in the form of a Project Service.

SSL certificate errors

When trying to integrate GitLab with services that are using self-signed certificates, it is very likely that SSL certificate errors will occur on different parts of the application, most likely Sidekiq. There are 2 approaches you can take to solve this:

  1. Add the root certificate to the trusted chain of the OS.
  2. If using Omnibus, you can add the certificate to GitLab's trusted certificates.

OS main trusted chain

This resource has all the information you need to add a certificate to the main trusted chain.

This answer at Super User also has relevant information.

Omnibus Trusted Chain

Install the self signed certificate or custom certificate authorities in to GitLab Omnibus.

It is enough to concatenate the certificate to the main trusted certificate however it may be overwritten during upgrades:

cat jira.pem >> /opt/gitlab/embedded/ssl/certs/cacert.pem

After that restart GitLab with:

sudo gitlab-ctl restart