All things Shopify and commerce
So there is a GraphQL endpoint that returns the logged in customer information based on a given access token.
Now my question is: Is there a way to get the logged in customer's access token? (inside the .liquid files)
I know there is a way to create the token myself using customerAccessTokenCreate. However, since i'm using a shopify theme that handles the sign in I would have to alter the code. I would expect there is a way to access the token after the customer logs in, inside a .liquid file.
Did you get the solution?
I have the same problem.
Is there a solution?
Thanks to all who participated in our AMA with 2H Media on planning your 2023 marketing bu...By Jacqui Mar 30, 2023
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...By Jacqui Mar 10, 2023
Upskill and stand out with the new Shopify Foundations Certification programBy SarahF_Shopify Mar 6, 2023