GDS::SSO.config do |config|
  config.user_model   = "User"
  config.oauth_id     = ENV['PUBLISHER_OAUTH_ID'] || "abcdefghjasndjkasndpublisher"
  config.oauth_secret = ENV['PUBLISHER_OAUTH_SECRET'] || "secret"
  config.oauth_root_url = Plek.current.find("signon")
  config.basic_auth_user = ENV['PANOPTICON_USER'] || "api"
  config.basic_auth_password = ENV['PANOPTICON_PASSWORD'] || "defined_on_rollout_not"
end
GDS::SSO.config do |config|
  config.user_model   = "User"
  config.oauth_id     = ENV['PUBLISHER_OAUTH_ID'] || "abcdefghjasndjkasndpublisher"
  config.oauth_secret = ENV['PUBLISHER_OAUTH_SECRET'] || "secret"
  config.oauth_root_url = Plek.current.find("signon")
  config.basic_auth_user = ENV['GDS_API_USER'] || "api"
  config.basic_auth_password = ENV['GDS_API_PASSWORD'] || "defined_on_rollout_not"
end
Change API env var name
Change API env var name
