Fix building packages: work around pip having a mind of its own with
[arvados.git] / docker / api / omniauth.rb.in
index 198668e0fc39d2a21f8b6ae83f2508ac59da8b07..8daa30043b19842037cf0b6f02efd2b273365b01 100644 (file)
@@ -7,7 +7,7 @@ APP_SECRET = '@@SSO_CLIENT_SECRET@@'
 if '@@OMNIAUTH_URL@@' != ''
   CUSTOM_PROVIDER_URL = '@@OMNIAUTH_URL@@'
 else
-  CUSTOM_PROVIDER_URL = 'https://' + ENV['SSO_PORT_443_TCP_ADDR'].to_s
+  CUSTOM_PROVIDER_URL = 'https://@@SSO_HOSTNAME@@.@@ARVADOS_DOMAIN@@'
 end
 
 # This is a development sandbox, we use self-signed certificates