Focuses on API authentication, access scopes, and permission management.
I have a code block to request Storefront API (need accessToken), it worked well on Development instance. However it won't work once we deploy to other environments such as STAG/PROD because we cannot use the accessToken for Development. How can I config the accessToken properly for multiple env.
Noted: In others platform like Nodejs, we can store the token on .env file, is there any relevant way on Shopify ?
Hi Lujbek,
Is this for using the Headless channel or for a custom app?
Liam | Developer Advocate @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog