Skip to content

Instantly share code, notes, and snippets.

@samrocketman
Created October 28, 2013 15:13
Show Gist options
  • Save samrocketman/7198552 to your computer and use it in GitHub Desktop.
Save samrocketman/7198552 to your computer and use it in GitHub Desktop.
configuring omniauth quick example
#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