AmooAti/Antimorph-ECommerce

Customer - Login

Closed this issue · 0 comments

Story

As a customer, I Want to login into the system.

API

Method: POST
Endpoint: api/customer/login
Request: Email, Password
Response:

  • bearer token
  • expires_at

AC:

  • Using sanctum as the authentication package
  • Last Login changes
  • If provided email or password is wrong show a general message and don't expose which one is wrong!

Checklist

  • API Doc
  • Test