From c966899ded75c66bdede7236c0a3ebec0a89ee32 Mon Sep 17 00:00:00 2001 From: Christopher Baines Date: Mon, 2 Jul 2018 14:01:04 +0100 Subject: Use Plek to find Signon --- config/initializers/gds-sso.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/gds-sso.rb b/config/initializers/gds-sso.rb index 3e78219..98c3a1e 100644 --- a/config/initializers/gds-sso.rb +++ b/config/initializers/gds-sso.rb @@ -6,7 +6,7 @@ GDS::SSO.config do |config| config.oauth_secret = ENV['OAUTH_SECRET'] # optional config for location of Signon - config.oauth_root_url = "http://localhost:3001" + config.oauth_root_url = Plek.new.external_url_for('signon') # Pass in a caching adapter cache bearer token requests. config.cache = Rails.cache -- cgit v1.2.3