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.
|2 hours ago|