You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Admins at SLOBG want to be able to reset user's passwords for them. Currently, users can reset their own passwords and they receive a code via email to do so. This is implemented with largely prebuilt AWS components.
This is a combined research and implementation task where you'll take a look at the reset password functionality and try to see if it is possible to modify it so that instead of sending an email to the user with a password reset request, it would send it to the admin . This way the admin's could help user's reset their password.
Some of the relevant code is located in login.jsx lines 16 - 68. The current way it's implemented is through aws amplify UI so you can mess around with it a bit to see if you can change the email that its being sent to.
In order to test this you will probably have to have two test accounts with one being an admin so you can go into the dynamo tables and make one the accounts an admin.
Some suggested steps
Make a test admin and test user account
Try resetting your password so you see how it works.
Look at Login.jsx to see how forgot password is implemented (its using the AWS Header component)
Research the Header component
Do some research on AWS amplify UI (linked below) and how it interacts with forgot password functionality
Create a new component for experimenting that uses the same components as the login page
See if you can make the forgot password function send an email to your test admin account when you request a new password for you user account
Using this code, reset the user's password
Alternatively, see if there is a different prebuilt component which allows admin-defined users to reset user's passwords
The text was updated successfully, but these errors were encountered:
Ritvik1121
changed the title
Validate Password Email To Admin
Validate Password Email Sent To Admin
Feb 16, 2023
Ritvik1121
changed the title
Validate Password Email Sent To Admin
Reset Password Email Sent To Admin
Feb 16, 2023
Admins at SLOBG want to be able to reset user's passwords for them. Currently, users can reset their own passwords and they receive a code via email to do so. This is implemented with largely prebuilt AWS components.
This is a combined research and implementation task where you'll take a look at the reset password functionality and try to see if it is possible to modify it so that instead of sending an email to the user with a password reset request, it would send it to the admin . This way the admin's could help user's reset their password.
Some of the relevant code is located in login.jsx lines 16 - 68. The current way it's implemented is through aws amplify UI so you can mess around with it a bit to see if you can change the email that its being sent to.
In order to test this you will probably have to have two test accounts with one being an admin so you can go into the dynamo tables and make one the accounts an admin.
Some suggested steps
The text was updated successfully, but these errors were encountered: