Open Closed

Implement "Administrators Can Log in as Any User" as Salesforce #2972


User avatar
0
chris.li created
  • ABP Framework version: v5.2.1
  • UI type: VueJs
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

My solution is quite similar as eShopOnAbp which has a separated Auth Server. And it has a VueJs client which use oidc-client.js connect with Auth Server for SSO. Is that possible to have Salesforce 's "Administrators Can Log in as Any User" implemented by my self.

Like:

  1. get an auth token for a user
  2. generate the Auth Server url with the auth token in query string
  3. Auth server checks auth token, and generate the access token for the client
  4. Auth server redirects to the client with access token

Any thoughts or hits would be great. Many thanks.


3 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We have Tenant impersonation & User impersonation feature.

    You can refer to the Angular part.

  • User Avatar
    0
    chris.li created

    Exactly what I am looking for, many thanks! Can you guide me how to sign in as another user by using the Angular client? How can I find the Angular code for this feature? thanks.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    You can check the web requests when using the Tenant impersonation & User impersonation feature.

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11