lib/gds-sso/config.rb in gds-sso-15.1.0 vs lib/gds-sso/config.rb in gds-sso-16.0.0
- old
+ new
@@ -10,14 +10,14 @@
mattr_accessor :user_model
@@user_model = "User"
# OAuth ID
mattr_accessor :oauth_id
- @@oauth_id = ENV.fetch("OAUTH_ID", "test-oauth-id")
+ @@oauth_id = ENV.fetch("GDS_SSO_OAUTH_ID", "test-oauth-id")
# OAuth Secret
mattr_accessor :oauth_secret
- @@oauth_secret = ENV.fetch("OAUTH_SECRET", "test-oauth-secret")
+ @@oauth_secret = ENV.fetch("GDS_SSO_OAUTH_SECRET", "test-oauth-secret")
# Location of the OAuth server
mattr_accessor :oauth_root_url
@@oauth_root_url = Plek.new.external_url_for("signon")