GDS::SSO.config do |config|
  config.user_model   = "User"

  # set up ID and Secret in a way which doesn't require it to be checked in to source control...
  config.oauth_id     = ENV["OAUTH_ID"]
  config.oauth_secret = ENV["OAUTH_SECRET"]

  # optional config for location of Signon
  config.oauth_root_url = Plek.new.external_url_for("signon")

  # Pass in a caching adapter cache bearer token requests.
  config.cache = Rails.cache
  config.api_only = true
end

GDS::SSO.config do |config|
  config.api_only = true
end

Remove redundant GDS SSO initializer config
Remove redundant GDS SSO initializer config

This was made redundant in [1].

[1]: https://github.com/alphagov/gds-sso/pull/241
