<@U04UQ68083H> Can we force group of user to user ...
# ory-copilot
h
@chilly-king-10285 Can we force group of user to user two factor authentication?
b
A message from kapa.ai
Based on the available knowledge sources, Ory allows you to enforce multi-factor authentication (MFA) at the level of flows or endpoints (such as login or settings) and for all users who have a second factor configured. You can set the required Authenticator Assurance Level (AAL) for specific operations, such as requiring AAL2 (MFA) for accessing account settings or for login flows. This enforcement can be set to "strict" (requiring the highest available AAL) or "lax" (requiring only AAL1) for all users or for specific flows. However, the documentation does not explicitly mention the ability to enforce MFA for a specific group of users based on group membership or user attributes. The enforcement appears to be global for all users or based on whether a user has a second factor configured, not on group membership or custom user segmentation. If you need per-group enforcement, you may need to implement additional logic outside of Ory's built-in configuration to handle this scenario. In summary, you can enforce MFA for all users or for all users with a second factor, but the knowledge sources do not describe a built-in way to enforce MFA only for a specific group of users based on group membership or traits alone [Step-up authentication](https://www.ory.sh/docs/kratos/mfa/step-up-authentication) [Configure multi-factor authentication in Ory Kratos](https://www.ory.sh/docs/kratos/self-hosted/mfa).
h
@chilly-king-10285 Can I enable MFA only for given organisation?
b
A message from kapa.ai
I'm sorry, but the knowledge sources do not contain enough information to confirm whether you can enable MFA only for a given organization in Ory. The available documentation describes how to enable and enforce MFA globally for all users or based on whether a user has a second factor configured, but it does not explicitly mention per-organization MFA enforcement or configuration. If you require organization-specific MFA enforcement, you may need to implement additional logic outside of Ory's built-in configuration, or consult Ory support for enterprise or advanced use cases.