0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00
logto/.changeset/quick-hairs-fail.md

14 lines
713 B
Markdown
Raw Normal View History

---
"@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.