I have to develop a JWT protected API with Laravel. In order to do so I will probably use the following package that seems to be quite popular for this
Now, this API will be used by third parties AND by another Laravel App that I'll have to make. This Laravel App will have to basically only function as a frontend, and will have to utilize the API for authentication and database operations.
Is this something that can be done ?
How would I use my Laravel API from my Laravel frontend app ?
Are there other solutions that I should consider for this ?
My company REALLY wants me to use JWT for authentication but to my understanding Passport doesnt really use that (and its token payload cannot be customized)