Sotring cookies for magento 2 using ```vsf-customer```
I have integrated Magento 2 sdk in my vsf app. For use Authentication, I am using method with custom graphQL query and then I use method to generate Token for authentication. Now, I want to store this token in cookies/localstorage. The documentation suggests that I should use to store cookies because mthods like use token stored in . But, I haven't found any guide related to the usage of this method. Any help on it will be a huge helping hand for me. thanks
1 Reply
Okay, there is this small portion in the documentation of
customer
method of magento sdk
. which says that we can pass customHeaders
like so:
but I would still like to see how can we use vsf-customer