CookieOptions
type CookieOptions = intersection | intersectionOptions for ctx.cookies.set(). Discriminated on sameSite so that
SameSite=None is a TypeScript error unless secure: true is also set:
browsers reject the unsecured form, and silent correction would mask the bug.
Learn: Cookies