我有一个 SCIM 应用程序,其中包含一些不在 OneLogin 中的用户。当我转到“用户”选项卡并选择“不匹配的用户”(导入它们)时,我应该会看到仅在我的应用程序中但看不到任何用户的用户。
OneLogin 向我们的端点 ( ) 发出请求,/svc/scim/v1/Users?startIndex=1&count=100我们返回用户。
这是我们返回的示例响应:
{
"schemas": [
"urn:scim:schemas:core:1.0"
],
"totalResults": 1,
"itemsPerPage": 1,
"startIndex": 1,
"Resources": [
{
"userName": "xy@email.com",
"emails": [
{
"primary": true,
"value": "xy@email.com"
}
],
"active": true,
"id": "94724df5-2338-45a3-8b96-0f68afd273d4",
"schemas": [
"urn:scim:schemas:core:1.0"
]
}
]
}
你知道有什么问题吗?
更新
现在,我发回 givenName / familyName 仍然看不到 OneLogin 中的用户
{
"userName": "xy+username@gmail.com",
"name": {
"givenName": "hasname",
"familyName": "hasname"
},
"emails": [
{
"primary": true,
"value": "xy+username@gmail.com"
}
],
"active": true,
"id": "d5f6632b-970b-4476-9465-b275907fccf4",
"schemas": [
"urn:scim:schemas:core:1.0"
]
}