Leveraging Intelligent Recommendations for Operational Transformation. AMS Partners click HERE | EMEA/APJ Partners click HERE |
10/23/2023 01:54 PM - last edited on 10/24/2023 03:46 AM by Sunil
Dear community,
We have created an user in Saviynt with the aim to be used with API to change user passwords.
This user has been set the password by an admin account through API and we have set the localauthenabled and passwordexpired properties with CustomQuery job as follows:
A SAV role has been added to the user with the following endpoint access:
This user is able to call the login endpoint and get a Bearer token. When trying to call the changePassword endpoint ({{url}}/ECM/{{path}}/changePassword) using this valid token and the body with the username and password of another user, I get the following response:
We do not know what is happening since this is not the expected response. We have compared this user to the user who was able to set the password for this same user and everything looks right. Even I set the same SAV Role and I get the same response.
I am stuck with this and I need your help, please.
Could you be so kind to help me?
Kind regards,
Francisco J.
[This message has been edited by moderator to mask url]
10/23/2023 07:19 PM - last edited on 10/24/2023 03:46 AM by Sunil
Please share postman screenshot. Its working for me
10/24/2023 12:16 AM - last edited on 10/24/2023 03:47 AM by Sunil
Hello Rushikesh,
Thanks for your prompt answer. The screenshot:
No variables have been set apart from username and password. They are not actually needed. This same call is working fine with the other user that we have to set passwords (that one which was used to set the password for this changePassword service acccount).
Also I want to note that when trying to call any other endpoint, for example /getUser, I am getting the same 200 OK response: "Sign in to your account"...