Enabling Impersonation in the Login Page

The default user portal page works with impersonation. If you have customized Identity Server to provide custom login and logout pages, you must change your customized pages for impersonation to work. For more information, see Implementing Impersonation in Custom Portal Pages.