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.
URL whitelisting
Whitelist the following URLs in your selected first-party identity API client:
-
The URL of your ReachFive account in the Allowed Origins (CORS) field (e.g. https://brand.com).
-
Authentication callback route URLs on your website in the Allowed Callback URLs field (e.g. https://brand.com/logged-in, https://brand.com/signed-up).
Configuration
-
Enter your account in the console.
-
Click
Login as
page. -
Select your first-party identity API client.
-
Define the Redirect url and make sure it has been whitelisted within your client.
-
Select the type of credential to return:
-
code
- Authorization Code flow -
token
- Implicit flow
-
The credential of this type will be returned as a query string parameter when using the API. |
Log in as another user in the console
-
Navigate to the profile to log in as (
). -
Click
.
You are redirected to your website/app, as defined in the Redirect url
field, and logged in as the selected user via ReachFive.
When you log in as another user, this generates a login user event, 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:
-
POST /oauth/token
-
GET redirectUrl returned by the previous request.
-
For Authorization code flow only, use the POST /oauth/token Identity API endpoint.