OneIdentity/safeguard-api-tutorial

PUT Users /v3/Users/{id}/Password - Sets the password of the local user

Closed this issue · 1 comments

Hi,
when i try to change my user local password from API https://xxx.xxx.xxx.xxx/service/core/swagger/ui/index#!/Users/Users_SetPasswordAsync
i receive this error:

{
  "Message": "The request is invalid.",
  "ModelState": {
    "password": [
      "Unexpected character encountered while parsing number: q. Path '', line 1, position 1."
    ]
  },
  "Code": 70000
}

pe

The password respect password requirements but the response is the same.

pp

I call api with my admin user and i try to change my password. It's no possible to change or i missing other parameters?

Thanks
-cmb

Hi,
we discovered the problem.
Vi API you have to pass the password in "double quotes".

Sorry for useless opening.