Closed kvisca closed 3 years ago
The login screen only needs to have an "email address" field. Our API will send the customer an email which will allow them to continue logging in. The API call required to power this is: ``` POST /v1/customers/email-token email={email here} base_url=https://commercejs-nextjs-demo-store.vercel.app/customers/login?token={token} ``` ^ An example only, adjust as necessary. Once the user has submitted the login form we'll need to show a message that says something like "If that email address exists in our system, we've just sent you a link to continue logging in! Please check your emails to continue." \--- Devs to make best efforts on the designs, just do whatever looks okay.
@robbieaverill I've made the requested updates, if you're happy with it I'll squash it down.
Adding a simple magic link login screen to the demo store.