Closed
Description
I use Laravel 5.7.* and Passport ^7.0 .
To consume my API with javaScript, I added CreateFreshApiToken middleware.
I would also like to implement Client Credentials Grant Tokens authentication so that a machine can use the API.
But, the two middlewares "client" and "auth:api" doesn't work together.
If I put "auth:api" middleware only, I can't access my API from web. And reciprocally, if I put "client" middleware only, I can't access my API from another machine.
Best regards,
Metadata
Metadata
Assignees
Labels
No labels