gitlab-org--gitlab-foss/doc/integration/crowd.md
Achilleas Pipinellis 1352a80f90 Fix markdown link in Omniauth docs
[ci skip]
2017-02-09 08:55:09 +01:00

1.7 KiB

Crowd OmniAuth Provider

To enable the Crowd OmniAuth provider you must register your application with Crowd. To configure Crowd integration you need an application name and password.

  1. On your GitLab server, open the configuration file.

    For omnibus package:

      sudo editor /etc/gitlab/gitlab.rb
    

    For installations from source:

      cd /home/git/gitlab
    
      sudo -u git -H editor config/gitlab.yml
    
  2. See Initial OmniAuth Configuration for initial settings.

  3. Add the provider configuration:

    For omnibus package:

      gitlab_rails['omniauth_providers'] = [
        {
          "name" => "crowd",
          "args" => { 
            "crowd_server_url" => "CROWD",
            "application_name" => "YOUR_APP_NAME",
            "application_password" => "YOUR_APP_PASSWORD"
          }
        }
      ]
    

    For installations from source:

       - { name: 'crowd',
           args: {
             crowd_server_url: 'CROWD SERVER URL',
             application_name: 'YOUR_APP_NAME',
             application_password: 'YOUR_APP_PASSWORD' } }
    
  4. Change 'YOUR_APP_NAME' to the application name from Crowd applications page.

  5. Change 'YOUR_APP_PASSWORD' to the application password you've set.

  6. Save the configuration file.

  7. Reconfigure or restart GitLab for the changes to take effect if you installed GitLab via Omnibus or from source respectively.

On the sign in page there should now be a Crowd tab in the sign in form.