I'm currently running a project with Laravel 5.6
Normally I would login to the system with username and password. Then I could access all the pages.
I need to create a desktop electron app.
In this app I need to be able to login to the system and then when a certain condition is met it'll open a page from the laravel system. Not an api call but just open the page in a browser.
From what I understand I would passport but I don't want to make just api calls. I want to open the regular pages. So I need away to get the token and then have it interact with the regular Laravel routes as if I was logged in.
Would the steps be
Create passport token on client
Access regular browser pages passing the passport token in the header?