Password Reset (v2.1.0)

Command that will initiate a password reset for a user.

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

Payload example
{
"User": "user@example.com"
}

Second request

Payload example
{
"User": "user@example.com",
"NewSecret": "newPassword456",
"Code": "123456"
}

JSON Schema

4 properties
Userstring
required

User ID.

OldSecretstringnull
NewSecretstringnull

New password.

Codestringnull

Code received by the user.