How can I access Shopify session in a React public app?

hi,
i want to get shopify session in react public app for shopify to send it to backend in the api headers.

i have node.js in backend and next.js in reactjs frontend,

i tried all official approaches from shopify and not worked for me.
anyone can help ??

1 Like

did you solve this ?

I used simple koa shopify auth library in the nodejs backend code and put the backend on subdomain under the main domain (front end domain) so both of them could see the same cookies