mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
991 B
991 B
@logto/core-kit | @logto/schemas | @logto/core | @logto/phrases-experience | @logto/integration-tests |
---|---|---|---|---|
minor | minor | minor | patch | patch |
full oidc standard claims support
We have added support for the remaining OpenID Connect standard claims. Now, these claims are accessible in both ID tokens and the response from the /me
endpoint.
Additionally, we adhere to the standard scopes - claims mapping. This means that you can retrieve most of the profile claims using the profile
scope, and the address
claim can be obtained by using the address
scope.
For all newly introduced claims, we store them in the user.profile
field.
![Note] Unlike other database fields (e.g.
name
), the claims stored in theprofile
field will fall back toundefined
rather thannull
. We refrain from using?? null
here to reduce the size of ID tokens, sinceundefined
fields will be stripped in tokens.