A space to discuss online store customization, theme development, and Liquid templating.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
What's the best way to hide Admin API access token from fetch requests made with Javascript in the theme files?
Don't make Admin API requests with JavaScript in your theme files to start with.
Make a call to an app that will correctly and properly secure access.
Use app proxies.