mirror of
https://github.com/LukeHagar/developer.sailpoint.com.git
synced 2025-12-09 20:37:47 +00:00
1.6 KiB
1.6 KiB
id, title, pagination_label, sidebar_label, keywords, description, slug, tags
| id | title | pagination_label | sidebar_label | keywords | description | slug | tags | |||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| change-password-customizer | Change Password | Change Password | Change Password |
|
Intercept the change password command. | /connectivity/saas-connectivity/customizers/commands/change-password |
|
Overview
Use these commands to intercept the change-password command.
| Input/Output | Data Type |
|---|---|
| Input | StdChangePasswordInput |
| Output | StdChangePasswordOutput |
Example StdChangePasswordInput
"identity": "john.doe",
"key": {
"simple": {
"id": "john.doe"
}
},
"password": "newPassword"
Example StdChangePasswordOutput
{
}
Implementation
Before change-password command
Use this logic to implement the command:
.beforeStdChangePassword(async (context: Context, input: StdChangePasswordInput) => {
logger.info(`Running before change password for account ${input.identity}`)
return input
})
The input object can be mutated and returned, but the same data type must still be returned.
After change-password command
Use this logic to implement the command:
.afterStdChangePassword(async (context: Context, output: StdChangePasswordOutput) => {
logger.info(`Running after change password`)
return output
})
The output object can be mutated and returned, but the same data type must still be returned.