PostLogin action runs before MFA challenge


I’m using universal login flow with sms MFA enabled. I also have a post login action for some custom business logic. However the post login action is run before the user is challenged for MFA. In my mind this doesn’t make sense as post login should include MFA as well. Is there a way to make the action run after SMS mfa?

Hi @rodri

This is the correct behavior. To be able to implement conditional MFA, the post login action chain has to run BEFORE MFA.