通过使用邮递员发布一个仅包含 1 个用户的 json,我能够在 Keycloak 中创建用户。
http://localhost:8080/auth/admin/realms/master/users
但是,当我尝试通过传递超过 1 条记录的 json 数组来创建超过 1 个用户时,我收到 500 Internal server error
[
{
"username": "user1",
"firstName": "John",
"attributes": {
"pl_uid": null
},
"credentials": [
{
"temporary": true,
"type": "password",
"value": "ares2012"
}
]
},
{
"username": "1000195",
"firstName": "Matt",
"attributes": {
"pl_uid": null
},
"credentials": [
{
"temporary": true,
"type": "password",
"value": "rx3o0t9f"
}
]
}
]
有什么方法可以将 json 数组发送到 keycloak 并在那里创建用户?
一只甜甜圈
慕勒3428872
相关分类