Change Password
Input/Output | Data Type |
---|---|
Input | StdChangePasswordInput |
Output | StdChangePasswordOutput |
Example StdChangePasswordInput​
"identity": "john.doe",
"key": {
"simple": {
"id": "john.doe"
}
},
"password": "newPassword"
Example StdChangePasswordOutput​
{}
Description​
The change password command is triggered in IDN when a user changes their password through IDN. When this occurs, if your source has change password enabled, then you can change the user password on the source system through IDN.
The Provisioning Plan​
The change password command sends the password change event to your connector whenever a user changes their password through the Password Manager. Handling this even is as simple as implementing a method on the source system that updates a users password
.stdChangePassword(async (context: Context, input: StdChangePasswordInput, res: Response<StdChangePasswordOutput>) => {
res.send(await myClient.changePassword(input.identity))
})
Testing in IdentityNow​
In order to test in IdentityNow, the source application must be configured so that it is able to accept password change requests through the Password Manager. Once this setup is complete, you can log in as a user whose identity exists in the configured application and change their password in the Password Manager.