loopback4-microservice-catalog icon indicating copy to clipboard operation
loopback4-microservice-catalog copied to clipboard

Cognito change password feature required

Open sumit-singhania opened this issue 1 year ago • 5 comments

Is your feature request related to a problem? Please describe. It is necessary to have a "change password" feature in sourceloop Cognito API. When a logged-in user tries to change their password, they should be able to change it both within the system and on the Cognito platform.

Currently, if the password is changed using the internal "change password" API, the user who interacts with the Cognito page first will not see the updated password. This means that although the user has changed their password by logging into the system and using the feature, it will not be updated in the Cognito platform.

Describe the solution you'd like use cognito.changePassword method provided by CognitoIdentityServiceProvider as we don't have direct API of change password available in documentation.

Although there is provision of doing same through API as well but end point is not directly available.

So you can opt for any approach if you are able to find end point that will be better approach.

Describe alternatives you've considered We have used currently cognito.changePassword method

Additional context This action should be either independent so any BL can be implemented around it or it should be performed first than internal system change password, As we have to make sure internal system password only change when we are able to successfully update password on cognito

sumit-singhania avatar Feb 20 '24 09:02 sumit-singhania