aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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