You can’t two-factor authenticate using TOTP without configuring Yosai to support it.
All of Yosai’s configuration resides within a single yaml-formatted settings file.
Include a totp
section within the AUTHC_CONFIG
section of this file like
so:
AUTHC_CONFIG:
...
totp:
mfa_dispatcher: yosai_totp_sms.SMSDispatcher
context:
secrets:
1479568656: 9xEF7DRojqkJLUENWmOoF3ZCWz3kFHylDCES92dSvYV