Advertise filters param in discovery doc.
[arvados.git] / services / api / config / initializers / omniauth.rb.example
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 = 'arvados-server'
4 APP_SECRET = rand(2**512).to_s(36) # CHANGE ME!
5
6 # Update your custom Omniauth provider URL here
7 CUSTOM_PROVIDER_URL = 'http://auth.clinicalfuture.com'
8
9 Rails.application.config.middleware.use OmniAuth::Builder do
10   provider :josh_id, APP_ID, APP_SECRET, CUSTOM_PROVIDER_URL
11 end
12
13 OmniAuth.config.on_failure = StaticController.action(:login_failure)