aboutsummaryrefslogtreecommitdiff
path: root/config/initializers/sso_config.rb
diff options
context:
space:
mode:
authorIN COMMON Collective <collective@incommon.cc>2021-04-09 12:29:16 +0200
committerIN COMMON Collective <collective@incommon.cc>2021-04-09 12:29:16 +0200
commit90c67665394bdd36e86e484020cfbd5ad4f188b2 (patch)
treeb41e2db43f72c92db88c4bc5069a5323c3488021 /config/initializers/sso_config.rb
parentd14700c51d692335f001a93c2f6b13b135783206 (diff)
parent4375650ea0788ae6b2a390b10ca6679d67dfc7a3 (diff)
downloadincommon-map-main.tar.gz
Merge branch 'sso-login' into mainHEADmain
Diffstat (limited to 'config/initializers/sso_config.rb')
-rw-r--r--config/initializers/sso_config.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/config/initializers/sso_config.rb b/config/initializers/sso_config.rb
index cf3bf3f..bf32648 100644
--- a/config/initializers/sso_config.rb
+++ b/config/initializers/sso_config.rb
@@ -15,8 +15,5 @@
require 'sso/from_discourse'
-SSO::FromDiscourse.config = {
- sso_url: 'https://talk.incommon.cc/session/sso_provider',
- return_url: Rails.env.production? ? "https://ateliers-carto.incommon.cc/authenticate" : "http://localhost:3000/authenticate",
- sso_secret: Rails.application.credentials.sso_secret,
-}
+
+