-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auth - verify password before enable MFA #3661
Comments
@Mowinski - By verify password, I assume you mean having the user enter their password after they've already authenticated. I am going to mark this issue as a feature request (unless my assumption is mistaken), since the Cognito service does not currently offer that functionality (I will verify that with them this week). |
+1 for this. My use case is to verify the user via a password challenge before they can sign a document. (this is also post-authentication). @haverchuck - Any updates on this? |
@haverchuck - any updates? I am looking to have the logged-in user enter their current password before performing certain actions such as updating their email address, or deleting their account. |
@haverchuck Hey, I'm also trying to use this feature! |
Currently vetting the workaround detailed by @Mowinski and wanted to document some findings as I am leaning toward this being a viable path for the use-case described by @jp-23. The workaround, for reference:
Although not ideal (clearly Another oddity is that the Audit Log shows password change events in a perpetual state of In Progress. My tests, for reference:
|
With 2FA usage increase, this should most definitely be a feature. |
It's very important to verify a user's password via a challenge before changing any MFA settings. Otherwise, if the user leaves his computer unattended for a moment, anyone can enable a new 2FA device and lock him out of his account. |
@gabrielmaldi use the workaround described by @john-nexkey for now. It's pretty annoying that this feature isn't available at this point. The amplify team is obviously aware that this should be available, I imagine they see potential security flaws from client apps. Also, manually trigging an MFA verification event should be implemented as well. |
@haverchuck - is there a repo for Cognito where I can submit this request? It sounds like the Cognito service first needs to provide this functionality right? |
Closing this issue down as a duplicate of #1582. Please follow that issue for updates on progress for this feature. request. |
** Which Category is your question related to? **
Auth and credentials
** What AWS Services are you utilizing? **
Cognito
** Provide additional details e.g. code snippets **
Hi!
I want to give my users new features - MFA Authorization.
If the user logs in to my page, in settings panel he/she is able to activate MFA.
I show popup information with wizard form.
The first step is verification user "what he/she knows" - so I ask about a password.
And there is a problem because amplify doesn't have any method to verify the password. I found a workaround but it is ugly. I just try to set a new password as old password and I check the status of this operation :)
My question, how can I verify user password in a prettier way?
The text was updated successfully, but these errors were encountered: