When the customer logged in his account on the storefront, I am going to make him to see his order data using Graphsql storefront API.
But in order to use this, I need to know the customer access token.
And to generate this token, I need to know the customer's email and password.
- To retrieve the customer Data
customer (customerAccessToken: "da3951b043bda30c6344d634b0dcd94d")
... ... ...
- To create the customerAccessToken
Though the customer already logged in, I can't get his email and password in frontend code like jquery...
How can I proceed this?
|an hour ago|