Level 23
Are you using Laravel Passport?
If yes, there's a middleware you can include on your web group to consume your api from the frontend.
1 like
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Is it possible ? if it possible how do i store the access_token for the user, in the session ? Thanks :)
Are you using Laravel Passport?
If yes, there's a middleware you can include on your web group to consume your api from the frontend.
Please or to participate in this conversation.