for one of our projects we need to create a Login as Member button.
I started to create a plugin for this where I add a button in the membership settings when onclick it needs to login the member and go to a page ( which is defined using a content picker ).
I know the password is stored in hash, but is there a way to make this plugin work or create some sort of impersonation so that you use your own credenials but see everything of the member in the frontend?
Login as member from the Umbraco backend
Hi,
for one of our projects we need to create a Login as Member button. I started to create a plugin for this where I add a button in the membership settings when onclick it needs to login the member and go to a page ( which is defined using a content picker ).
I know the password is stored in hash, but is there a way to make this plugin work or create some sort of impersonation so that you use your own credenials but see everything of the member in the frontend?
/Michaël
You will have to fallback to the FormsAuthentication.
That is what the MembershipHelper internally also uses: https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web/Security/MembershipHelper.cs#L212
@Damiaan,
thanks for the help.
/Michaël
Good luck. I hope you keep this thread updated when you succeed. ;-)
Glad I could help.
Damiaan
The plugin is almost ready. I will post a link to the plugin.
/Michaël
@Damiaan,
you can find the package here
/Michaël
is working on a reply...