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

dkthelearner's avatar

I need help regarding authentication in web application with my api. how to maintain login session using auth in laravel

Hi guys, I need a suggestion regarding authentication in laravel 5.2. I have following scenario. I have created two laravel application. One for API and another is web application. API is access by both mobile and web application, while web application authentication i have faced problem because my model repository all are on API site. so i m unable to create login session using Auth class in web application . Any one know how to mantain session in web application using auth with web service or any another option available.

Please suggest me any solution

0 likes
2 replies

Please or to participate in this conversation.