@bostonuniversity/shibboleth-sp 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -69609,13 +69609,13 @@ var JwtTools = class _JwtTools {
69609
69609
  const maxAge = Math.floor(dist_default(this.expiresIn) / 1e3);
69610
69610
  response.headers["set-cookie"] = [{
69611
69611
  key: "Set-Cookie",
69612
- value: `${_JwtTools.COOKIE_NAME}=${jwtToken}; Max-Age=${maxAge}; Secure; HttpOnly`
69612
+ value: `${_JwtTools.COOKIE_NAME}=${jwtToken}; Max-Age=${maxAge}; Path=/; Secure; HttpOnly`
69613
69613
  }];
69614
69614
  }
69615
69615
  setCookieInvalidationInResponse(response) {
69616
69616
  response.headers["set-cookie"] = [{
69617
69617
  key: "Set-Cookie",
69618
- value: `${_JwtTools.COOKIE_NAME}=invalidated; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Secure; HttpOnly`
69618
+ value: `${_JwtTools.COOKIE_NAME}=invalidated; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:00 GMT; Path=/; Secure; HttpOnly`
69619
69619
  }];
69620
69620
  }
69621
69621
  getCookieName() {