pouchdb / pouchdb-server

CouchDB-compatible server built on PouchDB and Node
Apache License 2.0
944 stars 155 forks source link

authentication.js: Tolerate high cookie timeouts and better error handling #464

Closed bdombro closed 8 months ago

bdombro commented 2 years ago

Adds tolerance for high cookie timeouts and error handling for cookie setting so that meaningful errors bubble if the cookie options are invalid, like "option expires is invalid"

Relates to https://github.com/pouchdb/pouchdb-server/issues/465

bdombro commented 8 months ago

Closing bc I'd like to remove it from my open Pulls. Think it's still worth doing though!