You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you creating this package. At first everything worked fine but later when I had to seperate admin users and normal users in different tables I ran into trouble. When I login as admin in Nova and impersonate a user it seems I get logged out and returned to the login screen.
The admin users have a "admins" database database, admin guard and are only used for Nova. The other users are just regular Laravel Users with the web guard. So what I'm trying to do is login to Nova as admin and impersonate a regular web user but that doesn't work.
Is it possible to use your impersonate package like this?
The text was updated successfully, but these errors were encountered:
Hi,
I am actually in the same scenario and it works.
btw: I have a single database schema, but different tables for nova and regular users (users_nova and users).
No need to customize config here, but if I were you I'll try to publish config, enable multi-guard option and specify default_impersonator_guard (admins or web) and impersonator_guards (["admins","web"]), maybe playing around helps you to discover which is your problem.
I am in the same situation. I have normal user that should be able to impersonate student (students table as provider). User can impersonate student but cannot reverse impersonate. It redirects back to login page.
Hi, thank you creating this package. At first everything worked fine but later when I had to seperate admin users and normal users in different tables I ran into trouble. When I login as admin in Nova and impersonate a user it seems I get logged out and returned to the login screen.
The admin users have a "admins" database database, admin guard and are only used for Nova. The other users are just regular Laravel Users with the web guard. So what I'm trying to do is login to Nova as admin and impersonate a regular web user but that doesn't work.
Is it possible to use your impersonate package like this?
The text was updated successfully, but these errors were encountered: