mirror of
https://github.com/logto-io/logto.git
synced 2025-01-13 21:30:30 -05:00
0c70d65c7b
* feat(core,toolkit): add new sso_identities claim add new sso_identities claim to the userinfo endpoint * chore: update changeset update changeset * chore: update comments update comments * refactor(core): use findUserSsoIdentites query method in user library use findUserSsoIdentites query method in user library
13 lines
713 B
Markdown
13 lines
713 B
Markdown
---
|
|
"@logto/core-kit": minor
|
|
"@logto/core": minor
|
|
---
|
|
|
|
define new `sso_identities` user claim to the userinfo endpoint response
|
|
|
|
- Define a new `sso_identities` user claim that will be used to store the user's SSO identities. The claim will be an array of objects with the following properties:
|
|
- `details`: detailed user info returned from the SSO provider.
|
|
- `issuer`: the issuer of the SSO provider.
|
|
- `identityId`: the user id of the user in the SSO provider.
|
|
- The new claims will share the same scope as the social `identities` claim.
|
|
- When the user `identities` scope is requested, the new `sso_identities` claim will be returned along with the `identities` claim in the userinfo endpoint response.
|