# Feature OP-14642 - Allow selective 2FA enforcement for omniauth users

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-14642

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | Wish List |
| Sprint |  |
| Backlog bucket |  |
| Votes | 5 |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan |  |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**As** an OpenProject administrator  
**I want to** be able to enforce 2FA selectively based on the authentication provider  
**so that** omniauth users (OIDC, SAML, etc.) can use 2FA of their IdP (identity provider) only and won't have to use 2FA twice even when 2FA is otherwise enforced for password-based users in OpenProject

**Acceptance criteria**

  - allow to disable enforced 2FA for individual authentication providers
      - default value: 2FA enabled
  - for instance a simple checkbox in the configuration for them:
      - 
        <img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/95382/content">
  - for these providers OpenProject shall not require users to connect a 2FA device within OpenProject itself
  - all other users (password-based, LDAP, other authentication providers where this option is not disabled) shall still require it, however
