Login As Member

Article author
Duncan from Memberstack

In this article, Tyler's going to show us how to use the Login as Member feature.

Note: This feature does not conflict with the disable concurrent login feature. An admin and a member can be logged into the same account at the same time.

  1. Navigate to the Members page
  2. Select the member you want to log in as. 
  3. Click the 3 dots at the top right corner, and then click "Login as Member."

Screen_Shot_2023-05-04_at_2.49.12_PM.jpg

  1. This will pop up a modal with your domains.
  2. Click on the input and select a domain from the dropdown. If you don't see your domain, you can enter it manually or add the domain on your settings page

Screen_Shot_2023-05-04_at_2.52.36_PM.jpg

And that's it! When you click "Login as Member" you will get the actual login redirect for that particular member. 

If you have any questions or suggestions for our team, please leave a comment below 👍

Keywords: Login with member, view as member, emulate member, login as user, login as another user, admin login, debugging, impersonate member. 

Was this article helpful?

Comments

3 comments

  • Comment author
    Steven Webster

    If you're using the Login as Member feature while that user is also logged in, is updating user JSON and/or member data blocked? If so, is there a workaround?

    I've built an app which is in production with its very first customers and my client has had some issues regarding updating JSON in this scenario. It sounds very likely that the two simultaneous logins are the culprit. Note that I have concurrent logins otherwise disabled.

    I'll be doing some debugging tomorrow, but please do let us all know here if that is the case!

    Thanks.

    0
  • Comment author
    Duncan from Memberstack

    Hi Steven Webster, apologies for the slow reply. Were you able to find a solution?

    One possible idea to add a check to your code which looks at your current IP address... you could add a list of "not-allowed" IP addresses for your devices and your teams' devices. But that doesn't seem ideal 🤔

    0
  • Comment author
    Steven Webster

    Hi Duncan,

    Thanks for replying. It turned out that my client had let their session expire, so no problem with MemberStack there.

    A couple of other things:

    1. One thing that I'm finding would be super useful is if there was a way to check if the current member is really the member or an admin masquerading as the member. An isMasquerading boolean field on the Member object could achieve this. It could - dodgily - be achieved by comparing the lastLogin field on the Member object to the current time, but that's far from a perfect solution. It's also not possible because:
    2. Bug: lastLogin is not being returned as a property on the Member object, and according to the docs, it should be.
    3. Irrelevant but it would be super cool if the code blocks in this text editor were inline (wrap selection in HTML code tags) and not block!

     

    1

Please sign in to leave a comment.