app/controllers/api/user_controller.rb in gds-sso-17.1.0 vs app/controllers/api/user_controller.rb in gds-sso-17.1.1
- old
+ new
@@ -21,10 +21,10 @@
end
end
private
- # This should mirror the object created by the omniauth-gds strategy/gem
+ # This should mirror the object created by OmniAuth::Strategies::Gds
# By doing this, we can reuse the code for creating/updating the user
def build_gds_oauth_hash(user_json)
OmniAuth::AuthHash.new(
uid: user_json["uid"],
provider: "gds",