Kentico Dancing Goat Impersonation

Matthew Butler asked on May 30, 2022 12:45

I'm looking to test to see if it's possible to identify if the user is being impersonated and the impersonator in the live site.

But I can't seem to get impersonation working on the DancingGoat sample. I click "log on as this user" and it warns its going to redirect, but it doesn't appear to redirect and I get "You're not a content editor and you cannot use administration."

Correct Answer

Juraj Ondrus answered on May 31, 2022 04:41

This was change in the MVC development model - you have two separate apps where in the front end apps you have everything under your control, including authentication. So, if you want to impersonate users on the live site, you need to implement this on your front end app.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Juraj Ondrus answered on May 30, 2022 14:42

The imperonalization works for the admin app only. It does not work for the front end app. In your case, when you check the user's account - does it have appropriate privilege level (editor at least) and permissions to access the admin app UI?

0 votesVote for this answer Mark as a Correct answer

Matthew Butler answered on May 30, 2022 16:13

Was this a change in 13? if so is there anyway to impersonate in the live site?

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.