amplify-ui icon indicating copy to clipboard operation
amplify-ui copied to clipboard

FR (Authenticator): Remember Device in Authenticator

Open bestickley opened this issue 3 years ago • 5 comments

On which framework/platform would you like to see this feature implemented?

React

Which UI component is this feature-request for?

Authenticator

Please describe your feature-request in detail.

Easily configure Authenticator to remember device for MFA enabled user pools.

Please describe a solution you'd like.

Easily configure Authenticator to remember device for MFA enabled user pools.

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.

bestickley avatar Feb 08 '22 18:02 bestickley

This would be great to see. Should it take the form of a simple "Remember this computer" checkbox on the Confirm TOTP Code part of the component? Wherever the checkbox goes, I'd expect it to be automatically shown if the User Pool has a Remember Devices setting of "User Opt-In".

nk9 avatar Feb 17 '22 12:02 nk9

@nk9, yes, it could show up there, or after the user successfully completed TOTP (or SMS but I haven't tried that MFA config with the new Authenticator yet). I'm not sure which would work best based on API calls. But the next time the user shouldn't have to verify with MFA.

bestickley avatar Feb 17 '22 15:02 bestickley

This could be generalized to a "remember me" button when you sign in, in conjunction with mfa if needed. We'll need to look into underlying Cognito feature to check the feasibility.

wlee221 avatar May 19 '22 02:05 wlee221

This feature should be possible since it is currently supported in JS API's: https://docs.amplify.aws/lib/auth/device_features/q/platform/js/

reesscot avatar Jun 01 '23 20:06 reesscot