Flows

๐Ÿ–ฅ๏ธ Init Flow

๐Ÿ”‘Change Password

๐Ÿ” Validate Token

๐Ÿ“จSend Email

This service is the responsable to handle all the possible password flows, how send an email, validate the token that are sended in the email and change the password.

Each time this service is executed will choose between the possible functions and will start one of the next flows:

๐Ÿ–ฅ๏ธ Init Flow

The flow goes executed when the ODS trigger the /reset-password flow, depending of the request query will choose one function to executed, each one will return a response depending of the status.

In the init flow ever will handler the success and error flows

๐Ÿ“ฑ Calling the endpoint

โœ” Success Flow

โŒ Error Flows

๐Ÿ”‘ Change Password

When this function is executed go tries to change the user password and notifies the result to the user email.

โœ” Success Flow

โŒ Error Flows

๐Ÿ” Validate Token

This flow is executed when the user clickโ€™s the email that will sended by the #Send Email flow and is the responsible to check the Url Token is valid.

โœ” Success Flow

โŒ Error Flows

๐Ÿ“จ Send Email

The userโ€™s complete the Forgot Password form and next this flow is executed to send an email to the current user email, the email will contains information about the Request and the the URL Token that after will be checked for #Validate Token flow

โœ” Success Flow