Skip to content

Commit

Permalink
Remove redundant GDS SSO initializer
Browse files Browse the repository at this point in the history
This was made redundant in [1].

[1]: alphagov/gds-sso#241
  • Loading branch information
Ben Thorner committed Nov 4, 2020
1 parent b8f6c17 commit 03ecd20
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions config/initializers/gds_sso.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
GDS::SSO.config do |config|
config.user_model = "User"
config.oauth_id = ENV["OAUTH_ID"]
config.oauth_secret = ENV["OAUTH_SECRET"]
config.oauth_root_url = Plek.new.external_url_for("signon")
end

if Rails.env.development?
# In development, if we want to be able to test features that require permissions
# then we need to override the default permissions for the dummy user inserted by
Expand Down

0 comments on commit 03ecd20

Please sign in to comment.