aboutsummaryrefslogtreecommitdiff
path: root/config/initializers/sso_config.rb
blob: f5413ffed75a18d7996af45e0f0f96b17709cb8e (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: "http://localhost:3000/authenticate",
  sso_secret: Rails.application.credentials.sso_secret,
}