ruby on rails - Need to set SameSite Cookie in a shopify APP
I have a Shopify store and have created an APP using Ruby on Rails (Ruby version 2.4.0). The App is deployed on Heroku.
As Google updates the cookie by adding the "SameSite" attribute to make it more secure. I am not sure how to set the SameSite attribute in my APP.
In the APP no cookie is used, still when I follow the below steps:
- Download Chrome Canary, then install and launch it.
- In Canary, navigate to chrome://settings/help and verify that you see Google Chrome is up to date, if not then update Canary.
- Navigate to chrome://flags/#samesite and enable these three SameSite flags:
SameSite by default cookies. Enable removing SameSite=None cookies. Cookies without SameSite must be secure.
Any help is greatly appreciated.
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.