Have a look at laravel Passport. But Sanctum should work, read all of the docs.
Apr 4, 2021
1
Level 1
Laravel for API
Hello, I'm come accross a requirements whre i must build an API to service a 3rd party company. The purpose of the API is simple, the client will have to be able to validate the presence a string data from database. Look at Santcum but it looks like the design of the api is for SPA's or a logged in user will be able to access the API. Same is true for Laravel "Passport". (correct me if im wrong).
Appreciate your guidance on what laravel package to use to this. Ideally, the client should have a id token and a path.
Level 75
1 like
Please or to participate in this conversation.