Auto Login Using DeepLink

0
Hello Team, Has anyone implemented "act as another user/role" functionality in Mendix? Do anyone have any idea on how we can achieve it through DeepLink . We have a simple requirement: that the ADMIN needs to login as a specific user when the admin clicks on "ACT AS A ANOTHER USER" button, and they will have the roles/screen as the new user.
asked
2 answers
0

Have a look at this blog by Nolan Ramsey on this subject: https://www.nolanramsey.com/theradreport/2019/8/4/designing-an-impersonate-feature

answered
0

Hi 

 

You can try this

  1. In DeepLink microflow retrieve user and call following microflow and provide retrieved user
  2. Open a temporary page where you have button and html snippet
  3. Hide button so it is not visible
  4. Html snippet 
  5. For button call nanoflow
  6. Inside Nanoflow call Javascript
answered