It’s not possible to manually set it. The team had this to say:
We explicitly set it to
none
when saving cookies, at least for HTTPS. If no HTTPS, we use the browser default by not specifying a value at all.https://github.com/auth0/auth0-spa-js/blob/0c6166c0f1dd7c8405b7231d0074c1eb0d8a164f/src/storage.ts#L36If they’re testing on
localhost
, it could be (I’m assuming Chrome) defaulting tolax
if the SameSite attribute is not specified. See this Chrome feature which started rolling out from July 2020. So it could be Chrome just reporting that default.When SameSite was implemented in this SDK, we decided at the time to specify
none
when running on HTTPS, and not specify anything at all (inherit browser defaults) when not running on HTTPS.
Hope that helps.