I am using passport for user authentication with Postman. when I make a post request by submitting username and password, I am receiving access_token and if I make a Get request with "http://ift.tt/2tMjmjx" I am receiving user credentials.
If I use this authenticated user in entrust through postman I am getting "Abort" error like **abort(403)in EntrustRole.php (line 39)**. But if I use blade template and running make:auth then it works fine. Can Anyone help how to assign roles to users authenticated by passport.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire