aboutsummaryrefslogtreecommitdiff
path: root/config/initializers/sso_config.rb
blob: b3f23f7a2eda2b952d0252ec01849fb79c24f640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

# See lib/sso/from_discourse.rb
# module SSO
#   class FromDiscourse
#     class << self
#       attr_accessor :config
#     end
#   end
# end

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,
}