aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-07-02 14:01:04 +0100
committerChristopher Baines <mail@cbaines.net>2018-07-02 14:01:04 +0100
commitc966899ded75c66bdede7236c0a3ebec0a89ee32 (patch)
tree72b722d133e0f97b707397391e161ccf5e180f90 /config
parent930bede6a0a3927d59f35d76801744130bd2edb2 (diff)
downloadgovuk-mini-environment-admin-c966899ded75c66bdede7236c0a3ebec0a89ee32.tar
govuk-mini-environment-admin-c966899ded75c66bdede7236c0a3ebec0a89ee32.tar.gz
Use Plek to find Signonrelease_5
Diffstat (limited to 'config')
-rw-r--r--config/initializers/gds-sso.rb2
1 files changed, 1 insertions, 1 deletions
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