Created
October 28, 2013 15:13
-
-
Save samrocketman/7198552 to your computer and use it in GitHub Desktop.
configuring omniauth quick example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#add this to my ~git/gitlab/conf/initializers/devise.rb just before the last "end" | |
config.omniauth :cas, host: 'serverhost', port: '443', ssl: 'true', login_url: '/cas/login', logout_url: '/cas/confirmLogout', uid_key: 'uid', disable_ssl_verification: false, ssl: true | |
#In gitlab.yml | |
omniauth: | |
providers: | |
- { name: 'cas' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment