-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Laravel Fortify / Sanctum impersonate returns false #183
Comments
I am facing same issue |
@neetu-mittal For me, interestingly, despite having the $newUser = User::find($request->input('switch_to'));
$impersonate = Auth::user()->impersonate($newUser, 'web'); In this context, Hopefully this helps? |
try this - #141 (comment) |
#188 (comment) |
Had the same issue.
|
Hi, I'm using Laravel 10 as a backend to a Nuxt JS front-end. I've installed the package, when I send a request to login to my endpoint's function attached, my
$impersonate
variable returns false, why aren't I being logged in?The text was updated successfully, but these errors were encountered: