public async Task <Command> Handle(Query request, CancellationToken ct) { // TODO: get from UserfyOptions request.ReturnUrl ??= "/"; // Clear the existing external cookie to ensure a clean login process await _userLogin.LogoutAsync(); return(new Command { ReturnUrl = request.ReturnUrl, RememberMe = true }); }