--- layout: default navsection: installguide title: Install Single Sign On (SSO) server ...
~$ cd $HOME # (or wherever you want to install)
~$ git clone https://github.com/curoverse/sso-devise-omniauth-provider.git
~$ cd sso-devise-omniauth-provider
~/sso-devise-omniauth-provider$ bundle install
~/sso-devise-omniauth-provider$ rake db:create
~/sso-devise-omniauth-provider$ rake db:migrate
~/sso-devise-omniauth-provider$ rake secret
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
~/sso-devise-omniauth-provider$ rails console
irb(main):001:0> c = Client.new
irb(main):002:0> c.name = "joshid"
irb(main):003:0> c.app_id = "arvados-server"
irb(main):004:0> c.app_secret = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
irb(main):005:0> c.save!
irb(main):006:0> quit
~/sso-devise-omniauth-provider$ rails server --port=3002