mirror of
https://github.com/logto-io/logto.git
synced 2024-12-30 20:33:54 -05:00
b4f702a860
* refactor(core): return organization data in userinfo endpoint * chore(core): add comments * chore: fix tests
416 B
416 B
@logto/core-kit | @logto/core |
---|---|
patch | patch |
userinfo endpoint will return organization_data
claim if organization scope is requested
The claim includes all organizations that the user is a member of with the following structure:
{
"organization_data": [
{
"id": "organization_id",
"name": "organization_name",
"description": "organization_description",
}
]
}