Login as

To help troubleshoot issues on their website or support portal, administrators can log in as the user experiencing the problem using ReachFive.

You can log in as another user in the ReachFive Console if you have access to the Profiles page, or use the dedicated Login as API endpoint. If you wish to use the API, refer to the Login as via API section below.

Configure the Login as feature

To configure the Login as feature, follow the instructions below.

Prerequisites

You must whitelist the following URLs in your selected first-party identity API client:

Configuration

  1. Sign in to your ReachFive Console.

  2. Go to Settings  Login as.

  3. Select your first-party identity client from the dropdown menu.

  4. Define the Redirect url and make sure it has been whitelisted within your client.

  5. Select the type of credential to return:

    • code - Authorization Code flow

    • token - Implicit flow

Credentials are returned as a query string parameter when using the API.

login as

Log in as another user in the console

  1. Navigate to the desired profile to log in as (Account  Profiles).

  2. Click Actions  Login as.

You are now redirected to your website or app, as defined in the Redirect url field, as the selected user via ReachFive.

When you log in as another user, this generates a login user event which is traceable in the Recent Activity panel of the impersonated user, just like a standard login.

Log in as via API

Here is the call sequence to follow when implementing the Login as feature via the Management API:

  1. POST /oauth/token

  2. GET /api/v2/users/{uid}/login-as

  3. GET redirectUrl returned by the previous request.

For the Authorization code flow only, use the POST /oauth/token Identity API endpoint.
Feedback