This type is used to describe an individual cookie
instance as forwarded to the frontend runtime. Cookies that are
created by the backend runtime are always signed using a auth
secret.
Note that the domain property should be equal to the frontend
deployment URL, i.e. if website runs at "elevate.app", then the
domain must be the same. You can also use wildcard domain names
but we recommend that you do that only for development purposes.
CookiePayload
This type is used to describe an individual cookie instance as forwarded to the frontend runtime. Cookies that are created by the backend runtime are always signed using a auth secret.
Note that the
domain
property should be equal to the frontend deployment URL, i.e. if website runs at "elevate.app", then the domain must be the same. You can also use wildcard domain names but we recommend that you do that only for development purposes.Using the
CookiePayload
interfacev0.3.0