I’m having trouble with a rule checking if a user completed MFA during their login.
According to the docs, the ‘context.authentication’ array should contain the authentication methods a user has completed during their session. However, the ‘mfa’ method is never present. The only output I get is the following array:
Rules execute before MFA is triggered. This means that, when the user is authenticated and rules run, MFA will not yet have been triggered. However, if the user has already authenticated and your application is performing SSO of an existing session, the array will be there, informing you of what kind of MFA flow went on during the original authentication flow.