Users
Retrieve a user's social identity and associated token storage .
Changed onThis API retrieves the social identity and its associated token set for the specified user from the Logto Secret Vault. The token set will only be available if token storage is enabled for the corresponding social connector.
get/api/users/{userId}/identities/{target}
Request
- Base URL: https://[tenant_id].logto.app
- URL: https://[tenant_id].logto.app/api/users/{userId}/identities/{target}
- Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)
Path parameters
userIdstring required
The unique identifier of the user.
targetstring required
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 identity and associated token storage.
Changes
- breaking
the
/response property's maxLength was increased from21to128for the response status
- breaking