Retrieve social identities, enterprise SSO identities and associated token secret (if token storage is enabled) for a user.
Changed onThis 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.
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
The unique identifier of the user.
Query parameters
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 from21to128for the response status - breaking
the
///response property's maxLength was increased from12to128for the response status - breaking
the
///response property's maxLength was increased from21to128for the response status
- breaking