Skip to main content

Change Password

Input/OutputData Type
InputStdChangePasswordInput
OutputStdChangePasswordOutput

Example StdChangePasswordInput

"identity": "john.doe",
"key": {
"simple": {
"id": "john.doe"
}
},
"password": "newPassword"

Example StdChangePasswordOutput

{
}

Description

The change password command is triggered in ISC when a user changes their password through ISC. When this occurs, if your source has change password enabled, then you can change the user password on the source system through ISC.

To use this command, you must specify this value in the commands array: std:change-password

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 Identity Security Cloud

In order to test in Identity Security Cloud, 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.