I am creating a custom auth component for an application using Vue and AWS Amplify. I am trying to create a checkbox to remember the device upon login, this would allow users to opt-in to not have to use the mfa code to log-in after successfully logging-in. Looking through the Auth Class docs, it does not seem to have a "remember me" or "remember this device" option included.
Is there a way to store a users session, so they do not use mfa on the device after that logging in or any other way?
Also, I have already configured my cognito user pool to be able to remember devices upon user's opt-in, as well as suppressing mfa if they choose to opt-in. It just seems like they do not have any current methods to run that option...