<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008G7V38SAFOkta Classic EngineAdministrationAnswered2024-04-16T11:11:04.000Z2017-08-15T20:44:51.000Z2020-03-05T09:43:29.000Z
Impersonating another user through an API
I have a use case where an administrator for one application needs to impersonate another user across all the applications that user has access to.  Basically,  the use case is as follows: 
  1. ApplicationAdminUser authenticates against Okta to access Application A
  2. From Application A,  user seclects a user that they want to impersonate.
  3. User accessess Application B as the selected User
  4. User accesses Application C as the selected User
 
  • Applications A is Service_Provider Initiated SAML
  • Application B is OpenIDConnect
  • Application C is Service Provider Initated SAML
 

How can this be accomplished without the ApplicationAdminUser knowing the credentials of the selected user?

Phillp Lanclos likes this.
  • Thank you for reaching out to Okta Support, my name is Andrei and I'll be assisting with your question.

     

    There is no functionality in the Okta Admin UI or in the Okta API to achieve the use case. For security purposes, I believe, the option was never implemented.

     

    The only way to achieve this would be to either gain access to the user's credentials or to reset their credentials (in either the Profile Master or Okta itself, based on your use case) and access the user's App Dashboard.

     

    You can suggest the idea for this functionality to be added as a Feature Request, though I it would require a fair bit of "backing" to be implemented, I imagine. You can suggest this on the Okta Community portal by using the 'Feedback' option at the bottom of the Okta admin console.

     

     

     

    Thank you,

    Andrei Aldea

    Technical Support Engineer

    Okta Global Customer Care

    Expand Post
  • IuliuB.42135 (Customer)

    Hi there,

    Can you please tell, if user impersonation is now available at API level?

     

    Use-case:

    • super admin: can login and masquerade as any user;
    • delegate: can login and masquerade only as related users.

     

    Thanks,

    IuliuB

     

    Expand Post
This question is closed.
Loading
Impersonating another user through an API