Please Ignore this
My code had a flaw. There was a space that got sneaked in just before the username and that was causing the error.

Thanks

On Fri, Sep 25, 2015 at 1:29 PM, Anunay Sinha <anunay.sinha@arvindinternet.com> wrote:

Hi
I am using keycloak 1.4
When am trying to create a new user using rest api, I am getting 201
User shows under the list of users on the Keycloak admin panel as well as when I query it from the API

I have reset the password of the user using the following call

{"type":"password","value":"asdf123","temporary":false}

Am getting 204 for this request.
When am trying to login with this user, am getting the erro
Status Code 401
{
  "error_description": "Invalid user credentials",
  "error": "invalid_grant"
}

If however I go and edit my user from admin console, it starts working.
Can you help me with this issue

--
- Anunay



--
- Anunay