After lots of Googling I still haven’t found a way to use Laravels built-in authentication and authorization meschanism with JWT authentication from an external API.
I’m using Laravel for the front-end and I need to POST a user/pass to an external API which returns a HTTP200 and a JSON Web Token if the login was successful. I need a custom auth driver for Laravel 5.1 which does this for me.
It should either work with Sentinel or Laravels built-in mechanisms.
My guess is that this isn’t very hard, especially when using https://github.com/tymondesigns/jwt-auth.
Please provide me with a quote if you can do this short-term.