thomasKn / astro-shopify

A lightweight and powerful ecommerce starter theme to build headless Shopify storefronts with Astro.
https://astro-shopify.frontvibe.com
MIT License
332 stars 99 forks source link

PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN? #37

Closed eannafreeney closed 1 year ago

eannafreeney commented 1 year ago

in your example.env file you have :

  1. PUBLIC_SHOPIFY_STOREFRONT_ACCESS_TOKEN
  2. PRIVATE_SHOPIFY_STOREFRONT_ACCESS_TOKEN

How do these map onto what shopify offers after creating and installing a custom app? I see they offer: Admin API access token Storefront API access token API key API secret key

Much thanks in advance - love the theme!

thomasKn commented 1 year ago

Thanks @eannafreeney! The best way to create and manage headless tokens is to use the Shopify Headless channel (more info here). image

eannafreeney commented 1 year ago

many thanks for pointing that out. i had missed that!