I have gitlab all set up and ready with omniauth and I was wondering if it is possible to disable default authentication with password and username entirely and to use only omniauth (in our case google login). What I'm hoping to achieve is enhanced security through enforced two factor authentication with google apps bundled together with omniauth.
After Gitlab version 7.7.0, you can now set up sign-up and sign-in behaviour in the Admin area, under the Settings page. Unchecking Signin enabled
option will only let OAuth login available.
Note that gitlab_rails['gitlab_signin_enabled']
and gitlab_rails['gitlab_signup_enabled']
settings in gitlab.rb
now have no effect.
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