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

pavepenkov1211's avatar

Impersonate user feature in Laravel and Vue.js

Hi, Team. I am building a web project using Vue.js as frontend and Laravel as backend. For now, I am going to implement the impersonate user feature to tracking issues reported by users for admin. I have already tried with lab404/laravel-impersonate package. But it looks like not working with api route, just working with web route. Please help me for this(any tips, links or source codes).

Thank you.

0 likes
1 reply
gych's avatar

What is the issue you have when using api route?

Please or to participate in this conversation.