User impersonation
Impersonation lets admins act as another user temporarily—useful for support, testing permissions, and debugging.
Casdoor supports two methods:
- Session-based — One-click from the Users page (no password).
- Master password — Sign in with an org-wide master password as any user.
Both give you the same access as the impersonated user.
Session-based impersonation
Start from the Users page: each row has an Impersonation button. Click it to switch your session to that user; the UI and permissions match theirs.

You stay in the impersonated user’s context until you exit. Casdoor tracks that you’re impersonating so it can restore your admin session.
Exiting
Open the user menu (top right). Choose Exit impersonation (instead of Logout) to return to your admin session.

Only administrators can impersonate; normal users do not see the impersonation button.
Master password
Impersonation is also available at login: set an organization master password; admins can then sign in as any user in that org by entering the master password instead of the user’s password.