8232: Remove outdated/misleading Docker install
[arvados.git] / docker / api / omniauth.rb.in
diff --git a/docker/api/omniauth.rb.in b/docker/api/omniauth.rb.in
deleted file mode 100644 (file)
index 8daa300..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-# Change this omniauth configuration to point to your registered provider
-# Since this is a registered application, add the app id and secret here
-APP_ID = '@@SSO_CLIENT_APP_ID@@'
-APP_SECRET = '@@SSO_CLIENT_SECRET@@'
-
-# Update your custom Omniauth provider URL here
-if '@@OMNIAUTH_URL@@' != ''
-  CUSTOM_PROVIDER_URL = '@@OMNIAUTH_URL@@'
-else
-  CUSTOM_PROVIDER_URL = 'https://@@SSO_HOSTNAME@@.@@ARVADOS_DOMAIN@@'
-end
-
-# This is a development sandbox, we use self-signed certificates
-OpenSSL::SSL::VERIFY_PEER = OpenSSL::SSL::VERIFY_NONE
-
-Rails.application.config.middleware.use OmniAuth::Builder do
-  provider :josh_id, APP_ID, APP_SECRET, CUSTOM_PROVIDER_URL
-end