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
When you enter a bad MFA we're getting a 404 for resp.status but the parsing of the error code isn't correct
It appears this code block is incorrect:
And we need to raise an MFA exception instead of an "Unknown error"
aka:
Maybe something like:
ifresponse["detail"] =='Your code was invalid, please try again or use a recovery token.':
raiseRequireMFAException("Your code was invalid, please try again or use a recovery token")
or
if'please try again'inresponse['detail']:
raiseRequireMFAException("Your code was invalid, please try again or use a recovery token")
The text was updated successfully, but these errors were encountered:
jeeftor
changed the title
Bad MFA doesn't work correctly
Bad MFA on interactive login throwing Unknown
Aug 16, 2024
When you enter a bad MFA we're getting a
404
forresp.status
but the parsing of the error code isn't correctIt appears this code block is incorrect:
And we need to raise an MFA exception instead of an "Unknown error"
aka:
Maybe something like:
or
The text was updated successfully, but these errors were encountered: