lundi 1 mai 2017

Why should Client Creadentials be associated with a user in Laravel Passport?

I want to use Client Credentials to authenticate client applications to access the API.

My problem is with creating client credentials. Using php artisan passport:client requires me to enter a user_id to associate the client to that user. I don't get it. Why the client application has to be associated to a user?! Or Is there another way?

passport:client command only supports creating Password Grant Clients and Personal Grant Client. I don't think that any of them is what I need.

What I really need is to create client credentials that will only be used by the client application so authorize itself to access some APIs. How to do that?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2pj9xGk
via IFTTT

Aucun commentaire:

Enregistrer un commentaire