Users

Retrieve social identities, enterprise SSO identities and associated token secret (if token storage is enabled) for a user.

Changed on

This API retrieves all identities (social and enterprise SSO) for a user, along with their associated token set records from the Logto Secret Vault. The token sets will only be available if token storage is enabled for the corresponding identity connector.

get/api/users/{userId}/all-identities

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/users/{userId}/all-identities
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Path parameters

userIdstring required

The unique identifier of the user.

Query parameters

includeTokenSecretstring

Whether to include the token secret in the response. Defaults to false. Token storage must be supported and enabled by the connector to return the token secret.

Response

Returns the user's social identities, enterprise SSO identities and associated token secret.

Changes

    • breaking

      the /// response property's maxLength was increased from 21 to 128 for the response status

    • breaking

      the /// response property's maxLength was increased from 12 to 128 for the response status

    • breaking

      the /// response property's maxLength was increased from 21 to 128 for the response status