I am not very experienced with ruby in general and trying to install a new omniauth provider in the GitLab Community Edition. I used the omnibus package to install it on Ubuntu 14.04. The goal is to authenticate GitLab against a Jasig CAS
According to Custom omniauth provider configurations doc the next step to make this work would be to add the according gem to the gemfile with "gem 'omniauth-cas'".
Is this even possible with the installed omnibus package? Or do I have to install it again manually? I don't see any gemfile in the installation directory, which i suppose to be somewhere down /var/opt/gitlab?
Thank you, everyone!
Omnibus GitLab is a way to package different services and tools required to run GitLab, so that most users can install it without laborious configuration.
OmniAuth is a "generalized Rack framework for multiple-provider authentication" built on Ruby. Configuring OmniAuth does not prevent standard GitLab authentication or LDAP (if configured) from continuing to work. Users can choose to sign in using any of the configured mechanisms.
You can't do that with the classic installation.
You need to download sources and install Gitlab manually in order to change the Gemfile.
Otherwise like Leo said the gitlab-ctl reconfigure
will override your changes.
This command uses /etc/gitlab/gitlab.rb
configuration and overrides everything.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With