You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement TOTP MFA using the existing cryptography API.
This allows clients to behave correctly and use proper TOTP validation
compared with previously where the UserCode was not handled.
Warning: this implementation still uses the fixed constant "secret" and
therefore should not be considered for anything other than testing.
A solution implementing "real" TOTP was considered but would need
storing the secret temporarily in the session during the auth process
but the session object is unfortunately a tuple at this time.
0 commit comments