shopify-api-js icon indicating copy to clipboard operation
shopify-api-js copied to clipboard

Allow the SameSite attribute to set none to ease development

Open jezsung opened this issue 4 years ago • 0 comments

The beginAuth function sets the SameSite cookie attribute to lax to block third-party site accesses but this makes development harder as the typical workflow would be hosting the frontend and backend on different hosts. It's even harder as we also need to host both frontend and backend on the same domain with HTTPS enabled.

Why not gives us an option to set this attribute so that we can set it none for development and lax for production?

jezsung avatar Jun 26 '21 05:06 jezsung