Password Recovery
If the user has forgotten his/her password, he can request to recover the password. The login page handles this flow but it can also be started by making the following GET request that displays a HTML view where the user shall enter the account e-mail address. GET request:
curl --location --request GET 'https://api.services-smarthome.de/account/1.1/user/password/forgot?clientId=<clientId>&redirectUrl=<redirectUrl>&lang=<lang>'
Clicking on SEND will direct the user to a new HTML view stating that the mail for the password recovery was send:
Clicking the TO HOMEPAGE button will call the previously defined redirectUrl
.
Example of LIVISIs password recovery e-mail:
Clicking the link makes the following request:
curl --location --request GET 'https://api.services-smarthome.de/account/1.1/user/password/reset?clientId=<clientId>&redirectUrl=<redirectUrl>&lang=<lang>&token=<token>'
This takes the user to a HTML view on which the user can enter a new password:
After suppling a new valid password and clicking on RESET PASSWORD the user is taken to a HTML view confirming the password reset:
Clicking the TO HOMEPAGE button will call the previously defined
redirectUrl
.
The redirectUrl
depends on where the user entered the flow which is either (a) the login page or the one that was specified when calling (b) the forgot
endpoint.
Area: Account API