Hi, you could use Laravel Passport or JWT
Feb 20, 2019
2
Level 14
Api authorization
Hello,
I want to build an api and give the user a client_id and client_secret to access the api and retrieve some resources machine to machine. How is it done nowadays ? Would it be enough to generate a string and give that as the client_secret and his id as client_id or should I use passport client grant ? Using passport seams a little to much as he would have to get an access token and only then send the requests.
Thanks
Please or to participate in this conversation.