Reputation: 4941
We would like for username and password to be asked every time but not the MFA. I see there is an option to remember the device in Cognito. Is it possible that MFA can be prompted less frequently but with the login credentials every time?
If remember device suppresses the MFA prompt, how long does it suppress it for?
Upvotes: 1
Views: 1215
Reputation: 6133
If remember device suppresses the MFA prompt, how long does it suppress it for?
Till the device is remembered.
Depending upon how you configure Cognito Userpool
to remember devices and opting to suppress MFA for remembered devices, the following are the possibilities.
For the SRP
flow to work, the client must have the correct deviceKey
, deviceGroupKey
and randomPasswordKey
. If the client doesn't provide this information, then it would be challenged with MFA. If the user uses a browser in incognito
mode or clears the LocalStorage
, it would be presented with the MFA challenge.
Upvotes: 3