0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00
logto/.changeset/quick-hairs-fail.md
simeng-li 0c70d65c7b
feat(core,toolkit): add new sso_identities claim (#5955)
* 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
2024-05-31 06:31:26 +00:00

713 B

@logto/core-kit @logto/core
minor 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.