[keycloak-user] Rest API for create user JSON

vivek dhayalan dvvivek at gmail.com
Wed Apr 6 11:28:45 EDT 2016


Hi All,

With the help of REST API (/admin/realms/{realm}/users) I'm trying to
create user in a realm. The API creates user in that realm but, credentials
w.r.t the user is not stored properly. I'm using the following JSON to
request body. Please let me know if I'm making some blunder mistake with
respect to credentials part of the JSON.

{
    "username": "cjbarker5",
    "enabled": true,
    "emailVerified": false,
    "firstName": "CJ",
    "lastName": "Barker",
    "credentials": [
        {
            "type": "password",
            "value": "newPas1*",
            "temporary": false
        }
    ]
}

-- 
Thanks & Regards
Vivek Dhayalan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/keycloak-user/attachments/20160406/00c461b9/attachment.html 


More information about the keycloak-user mailing list