Laravel Passport 401 Unauthenticated on server
I’m using Laravel Passport OAUTH 2.0 in my apps.
It’s working perfectly when using it locally, I can communicate between apps, I can use Postman to call a URL.
In production, I do passport:install, user:create, user:scope, etc.
I change my token accordingly.
But everytime I get a 401 Unauthenticated, wheter I use Postman, or try to communicate between app.
What could be the reason ?
from Laravel Questions and Answers https://laravelquestions.com/php/laravel-passport-401-unauthenticated-on-server/
via Lzo Media
No comments:
Post a Comment