Symfony 5 Security: Authenticators
Impersonation: switch_user
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 1 / 1

I'm working on adding the switch_user feature to my site. To switch, I know that I can add ?_switch_user= to the end of any URL. But... instead of using the user's email address, I want to be able to use the user's id in the URL. Is that possible?

Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.