diff options
-rw-r--r-- | config/initializers/sso_config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/initializers/sso_config.rb b/config/initializers/sso_config.rb index f5413ff..d88b595 100644 --- a/config/initializers/sso_config.rb +++ b/config/initializers/sso_config.rb @@ -13,6 +13,6 @@ require 'sso/from_discourse' SSO::FromDiscourse.config = { sso_url: 'https://talk.incommon.cc/session/sso_provider', - return_url: "http://localhost:3000/authenticate", + return_url: Rails.env.production? ? "https://ateliers-carto.incommon.cc/authenticate" : "http://localhost:3000/authenticate", sso_secret: Rails.application.credentials.sso_secret, } |