I am creating a headless app using nuxt.js. I have sucessfully used graphql API to retrive prodicuts/collections etc, but now I need to create a login so that users can login and can view their orders.
I have a form set up, containing the email address and password fields, but not really sure how to proceed forwards.
How is this achieved using mutation in the grapql API? I can see their is a CustomerAccessToken object.
Solved! Go to the solution
This is an accepted solution.
You can get a token by submitting that information to customerAccessTokenCreate
That token can be used to retrieve customer data, associate checkouts, etc