7444: Delete containers as soon as they stop.
[arvados.git] / docker / api / omniauth.rb.in
1 # Change this omniauth configuration to point to your registered provider
2 # Since this is a registered application, add the app id and secret here
3 APP_ID = '@@SSO_CLIENT_APP_ID@@'
4 APP_SECRET = '@@SSO_CLIENT_SECRET@@'
5
6 # Update your custom Omniauth provider URL here
7 if '@@OMNIAUTH_URL@@' != ''
8   CUSTOM_PROVIDER_URL = '@@OMNIAUTH_URL@@'
9 else
10   CUSTOM_PROVIDER_URL = 'https://@@SSO_HOSTNAME@@.@@ARVADOS_DOMAIN@@'
11 end
12
13 # This is a development sandbox, we use self-signed certificates
14 OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
15
16 Rails.application.config.middleware.use OmniAuth::Builder do
17   provider :josh_id, APP_ID, APP_SECRET, CUSTOM_PROVIDER_URL
18 end