Getting Logged in Customer's Access Token

New Member
2 0 0

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. 

Replies 2 (2)
Shopify Partner
4 0 0

Hi @AymanHoff 

Did you get the solution?

Thank you

New Member
1 0 0

Hi, there.
I have the same problem.
Is there a solution?