On which framework/platform would you like to see this feature implemented?
Vue
Which UI component is this feature-request for?
Authenticator
Please describe your feature-request in detail.
Currently the SignUp component has built-in features to setup 2fa.
however, what is an existing (logged in) user wants to add 2fa.
Is there a way to hook into the existing SignUp component and start at the 2fa screens.
import { Auth } from 'aws-amplify';
Auth.setupTOTP(user).then((code) => {
// display the code in a QR
});
Auth.verifyTotpToken(user, challengeAnswer).then(() => {
Auth.setPreferredMFA(user, 'TOTP');
})
Please describe a solution you'd like.
No response
We love contributors! Is this something you'd be interested in working on?
[ ] 👋 I may be able to implement this feature request.
[ ] ⚠️ This feature might incur a breaking change.
@pjmuller Thanks for your feature request. Yes, you would need to use the Amplify JS lib directly at this time, but we will consider exposing this functionality for our roadmap.
On which framework/platform would you like to see this feature implemented?
Vue
Which UI component is this feature-request for?
Authenticator
Please describe your feature-request in detail.
Currently the SignUp component has built-in features to setup 2fa.
however, what is an existing (logged in) user wants to add 2fa. Is there a way to hook into the existing SignUp component and start at the 2fa screens.
What (low hanging fruit) alternatives do you see? Can you confirm that the only current way is to use the Amplify JS lib directly ( https://docs.amplify.aws/lib/auth/mfa/q/platform/js/ )
Please describe a solution you'd like.
No response
We love contributors! Is this something you'd be interested in working on?