Are you going to use Sanctum or Passport, or your own setup with key | secret.
A way to authenticate API reuqests?
I'm developing a Laravel web application as a project for my degree. This web application provides API endpoints to vendor websites to allocate seats to different events. So basically a theater can register to this website and enter required details to make events. Each event is created using a unique venue id, a date id and a showtime id. This creates API endpoints to get seat allocation details and can post to allocate seats. The users can distribute those endpoints to their preferred vendors, allowing them to book seats on behalf of them. Right now anyone can make get and post requests to make changes to data. I want to make sure only the allowed vendors to make requests for the system. As an example, if user x distributes their API endpoints to a,b and c vendors, I want to authenticate requests made by a, b and c for events of only x, denying other unauthenticated requests. How can I achieve that? TIA!
Please or to participate in this conversation.