deleteCookie(name, res, opts = {}) {
    const { domain, path } = this.sessionCookieConfig;
    const { sameSite, secure } = opts;
    res.clearCookie(name, {
      domain,
      path,
      sameSite,
      secure,
    });
  }
Clears the cookie from the browser by setting an empty value and an expiration date in the past

@param {String} name Cookie name
@param {Object} res Express Response object
@param {Object?} opts Optional SameSite and Secure cookie options for modern browsers