I'm using a website's user information API, but it's returning the following:
{
"code": 0,
"data": {
"avatar_big": "https://s16-imfile-sg.feishucdn.com/static-resource/v1/v3_00fs_a73b7ac3-4bba-4553-8c89-9a647ad3a0hu~?image_size=640x640&cut_type=&quality=&format=image&sticker_format=.webp",
"avatar_middle": "https://s16-imfile-sg.feishucdn.com/static-resource/v1/v3_00fs_a73b7ac3-4bba-4553-8c89-9a647ad3a0hu~?image_size=240x240&cut_type=&quality=&format=image&sticker_format=.webp",
"avatar_thumb": "https://s16-imfile-sg.feishucdn.com/static-resource/v1/v3_00fs_a73b7ac3-4bba-4553-8c89-9a647ad3a0hu~?image_size=72x72&cut_type=&quality=&format=image&sticker_format=.webp",
"avatar_url": "https://s16-imfile-sg.feishucdn.com/static-resource/v1/v3_00fs_a73b7ac3-4bba-4553-8c89-9a647ad3a0hu~?image_size=72x72&cut_type=&quality=&format=image&sticker_format=.webp",
"email": "XXXXXXXXXXX@qq.com",
"employee_no": "",
"enterprise_email": "",
"mobile": "+11111111",
"name": "",
"open_id": "XXXXXXXX",
"tenant_key": "XXXXXXXX",
"union_id": "XXXXXXXXXX",
"user_id": "9cee3dda"
},
"msg": "success"
}
The content I need is under the "data" folder. How can I retrieve it?
How is your post related to this forum?
I can‘t see any relation to Keycloak.
Your posted structure is not a Keycloak structure. In Keycloak there is not “data” node.
Your posted image of an Identity Provider maps an hardcoded value of “open_id” to the “username” attribute of an user, if the user authenticates through this IdP. Nothing more.
Do you mean the request returned to me by the other system cannot include the data layer? It can only be at the first layer?
