blob: d88b5954b10c4937abe54fe26d4bda2b1afab068 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# frozen_string_literal: true
# See lib/sso/from_discourse.rb
# module SSO
# class FromDiscourse
# class << self
# attr_accessor :config
# end
# end
# end
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,
}
|