class Devise::FailureApp

def store_location!

different scopes would never use the same URI to redirect.
authenticated yet, but we still need to store the URI based on scope, so
the scoped session provided by warden here, since the user is not
Stores requested URI to redirect the user after signing in. We can't use
def store_location!
  store_location_for(scope, attempted_path) if request.get? && !http_auth?
end