GDS::SSO.config do |config|
  config.user_model   = "User"
  config.oauth_id     = 'abcdefgh12345678pan'
  config.oauth_secret = 'secret'
  config.oauth_root_url = Plek.current.find("signon")
  config.basic_auth_user = 'api'
  config.basic_auth_password = 'defined_on_rollout_not'
end

GDS::SSO.config do |config|
  config.user_model   = "User"
  config.oauth_id     = ENV['PANOPTICON_OAUTH_ID']
  config.oauth_secret = ENV['PANOPTICON_OAUTH_SECRET']
  config.oauth_root_url = Plek.current.find("signon")
  config.basic_auth_user = ENV['PANOPTICON_USER']
  config.basic_auth_password = ENV['PANOPTICON_PASSWORD']
end
Load OAuth and basic auth details from ENV
Load OAuth and basic auth details from ENV
