HomeUniteUs
HomeUniteUs copied to clipboard
End point to reset password when guest signs in after invite
Overview
When a guest receives an invitation to sign up for Home Unite Us they are instructed to click on a link that redirects them to a page to create a permanent password. We need an endpoint in our API that handles resetting the password. If I understand the flow correctly, after a user is invited they must respond the the auth challenge set by Cognito to reset their password, which can be done using the RespondToAuthChallenge method.
Action Items
- Create OpenAPI spec for a POST endpoint that accepts a password in the body.
- Generate a new spec
- Return an error if the request is unsuccessful
Resources
@jed-stewart can you confirm that after sending the invite the user has a RESET_REQUIRED or FORCE_CHANGE_PASSWORD status?
Yes, I'll verify this
On Thu, Mar 9, 2023, 7:24 PM Erik Guntner @.***> wrote:
@jed-stewart https://github.com/jed-stewart can you confirm that after sending the invite the user has a RESET_REQUIRED or FORCE_CHANGE_PASSWORD status?
— Reply to this email directly, view it on GitHub https://github.com/hackforla/HomeUniteUs/issues/480#issuecomment-1463198089, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANZPLAVNW6OWY7FZABT6TCTW3KNIJANCNFSM6AAAAAAVV4WIZU . You are receiving this because you were mentioned.Message ID: @.***>
@jed-stewart can you confirm that after sending the invite the user has a RESET_REQUIRED or FORCE_CHANGE_PASSWORD status?
@erikguntner @stevbark It is FORCE_CHANGE_PASSWORD when added
Is the FORCE_CHANGE_PASSWORD something I need to worry about? I dont see it in the 'respond to auth challenge' linked above so I am unsure how it affects me.
You do not need it, Erik asked the question above
On Mon, Mar 27, 2023, 11:01 PM Stephen Barkley-Yeung < @.***> wrote:
Is the FORCE_CHANGE_PASSWORD something I need to worry about? I dont see it in the 'respond to auth challenge' linked above so I am unsure how it affects me.
— Reply to this email directly, view it on GitHub https://github.com/hackforla/HomeUniteUs/issues/480#issuecomment-1486263956, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANZPLAR5XS5FVANB35I4WPDW6J5DFANCNFSM6AAAAAAVV4WIZU . You are receiving this because you were mentioned.Message ID: @.***>