# Decision making for MFA frequency per organization

**URL:** <https://community.auth0.com/t/decision-making-for-mfa-frequency-per-organization/92818>\
**Category:** Get Help\
**Tags:** failed-login, lock, login, mfa\
**Created:** [October 20, 2022, 5:14pm UTC](https://community.auth0.com/t/decision-making-for-mfa-frequency-per-organization/92818 "2022-10-20T17:14:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikhail.ilfirovych](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mikhail.ilfirovych/32/33224_2.png) [@mikhail.ilfirovych](https://community.auth0.com/u/mikhail.ilfirovych)\
**Post date:** [October 20, 2022, 5:14pm UTC](https://community.auth0.com/t/decision-making-for-mfa-frequency-per-organization/92818/1 "2022-10-20T17:14:50Z")

</div>

Hello,

I am looking for help with getting information about an user’s login during in Action.  
I am new to Auth0 so I went over Google searches, this community and documentation but I still can’t find required info.

I have a requirement to enable different MFA settings for different organizations.  
I am using Action to make a decision if MFA is enabled to a specific organization.  
Example taken from  
[https://community.auth0.com/t/feature-request-different-mfa-policies-by-organization/71529/1](https://community.auth0.com/t/feature-request-different-mfa-policies-by-organization/71529/1)  
Each organization is going to have their own settings related to MFA, like

- Lock an user after X failed mfa verifications
- Do not ask for MFA if last successful login was within X time (hours, days, …)

Is there a way, maybe not with Action, to know when was a last successful login (including MFA verification) and how many times the user failed MFA verification?

Thanks

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 28, 2022, 4:50pm UTC](https://community.auth0.com/t/decision-making-for-mfa-frequency-per-organization/92818/2 "2022-10-28T16:50:02Z")

</div>

Hi @mikhail.ilfirovych,

As you’ve noticed from the feature request linked, you can use Actions to control MFA behavior on a per-org basis. The user’s app\_metadata can be a helpful place to store information like when the last successful login was, or when a user completed MFA.

If you have other ideas or requirements that aren’t currently possible, it would be helpful to add them to the feature request you linked.

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 11, 2022, 4:50pm UTC](https://community.auth0.com/t/decision-making-for-mfa-frequency-per-organization/92818/3 "2022-11-11T16:50:04Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
