Overview
This command in the Authentication adapter, can be used to reset the password for a User or Applicaiton. It is a two step process, where the first call will send out a code to the e-mail adress which is connected to the user.
The second step will with the help of the code change the password for the user.
Tokens already generated are not invalidated by a password reset.
Architecture diagram
Payload example
First request
{ "User": "user@example.com"}Second request
{ "User": "user@example.com", "NewSecret": "newPassword456", "Code": "123456"}JSON Schema
4 properties
Userstring
requiredUser ID.
OldSecretstringnull
NewSecretstringnull
New password.
Codestringnull
Code received by the user.