storefront-api-examples icon indicating copy to clipboard operation
storefront-api-examples copied to clipboard

CustomerRecover not returning token it returns only userErrors

Open RupamShaw opened this issue 3 years ago • 1 comments

Storefront https://shopify.dev/api/storefront/reference/customers/customerreset CustomerReset needs token But https://shopify.dev/api/storefront/reference/customers/customerrecover CustomerRecover not returning token

RupamShaw avatar Dec 10 '21 07:12 RupamShaw

customerRecover will send an email to the customer with a url to reset their password that looks like: https://yourdomain.com/account/reset/customerId/resetToken.

You can either extract the token from the url to use in customerReset or there is customerResetByUrl where you can supply the entire url.

corygibbons avatar Jan 29 '22 18:01 corygibbons