ssxcookieoptions
Home > @spruceid/ssx-core > SSXCookieOptions
SSXCookieOptions interface
Configuration interface for cookies issued by ssx-server
Signature:
Extends: CookieOptions
Properties
Property
Modifiers
Type
Description
boolean | 'lax' | 'strict' | 'none' | undefined
Prevents Cross Site Request Forgery Attacks by telling the browser to only send cookies with request from your site. The lax setting allows GET requests from other sites. Recommended true for production.
boolean
Whether or not cookies should be signed. Recommended true for production. Set to true by providing a signing key. If false, cookies can be tampered with on the client.
Last updated