GDS::SSO.config do |config|
  config.user_model   = "User"
  config.oauth_id     = 'abcdefghjasndjkasnd'
  config.oauth_secret = 'secret'
  config.oauth_root_url = Plek.current.find("authentication")
end
# Omniauth can't figure out the hostname because it's being proxied through nginx
OmniAuth.config.full_host = "http://publisher.dev.gov.uk"

GDS::SSO.config do |config|
  config.user_model   = "User"
  config.oauth_id     = 'abcdefghjasndjkasnd'
  config.oauth_secret = 'secret'
  config.oauth_root_url = Plek.current.find("signon")
end
# Omniauth can't figure out the hostname because it's being proxied through nginx
OmniAuth.config.full_host = "http://publisher.dev.gov.uk"

Use 'signon' as the root URL
Use 'signon' as the root URL

The 'authentication' label was used back in the days of sign-on-tron
v1. This is now deprecated, so expect to search for 'signon' instead.
