Jason Adriaan

Results 2 comments of Jason Adriaan

I am also having the issue that once you try to impersonate you're just logged out. What is the official solution to this issue?

I ended up just switching out the auth middleware from sanctum to web: Route::middleware(['auth:sanctum',]) Route::middleware(['auth:web',]) This worked for me.