Skip to content
This repository has been archived by the owner on Feb 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #125 from alphagov/add-fallback-oauth-details
Browse files Browse the repository at this point in the history
Add fallback OAuth ID and secret
  • Loading branch information
Ruben Arakelyan committed Apr 5, 2017
2 parents 25848ef + 4adbbce commit 9a1ed1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/initializers/gds-sso.rb
@@ -1,6 +1,6 @@
GDS::SSO.config do |config|
config.user_model = "User"
config.oauth_id = ENV["OAUTH_ID"]
config.oauth_secret = ENV["OAUTH_SECRET"]
config.oauth_id = ENV["OAUTH_ID"] || "abcdefg"
config.oauth_secret = ENV["OAUTH_SECRET"] || "secret"
config.oauth_root_url = Plek.find("signon")
end

0 comments on commit 9a1ed1e

Please sign in to comment.