Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Abdifatah's avatar

Laravel session is not working after successfully login

After I installed JWT to my project , I changed my Auth Default Guard to API . My API works fine but on the web , when I start login ,it redirects to home page but not showing the user who is in , and it also show the login route.

Is there is away I can use both Web and API at the same time? or an other solution out there?

0 likes
1 reply

Please or to participate in this conversation.