Configuration of the cookie used by the session handler after login.

The cookie value is a randomly generated key pointing to the JWT generated during login (which is stored in the DB and cached in memory).

Name

Type

Details

name

The name of the cookie.

The name must be alphanumeric characters or any of the characters in "!#$%&'*+.^_`

~]+".

secure

The "secure" flag for the cookie.

Optional, if not set the secure flag will be set if the request is recognised as coming over HTTPS.

httpOnly

The httpOnly flag for the cookie.

Optional, if not set the flag will be set to false.

domain

The domain to be specified in the cookie.

Optional, if not set the domain used in the request will be set in the cookie.

path

The path to be specified in the cookie.

Optional, if not set the path in the cookie will be set to "/".

sameSite

The SameSite value to set in the cookie.

Optional, if not set same-site will not be set in the cookie.

VALID_NAME