appwrite / appwrite/appwrite

๐Ÿš€ Enhancement: ๐Ÿ›ก๏ธ Organization-Level 2FA Management & Policy Control

Open
#9,910 0 comments 1 reaction 0 assignees View on GitHub
product / auth
Dominant language
TypeScript
Stars
57.4k
Forks
5.7k
Avg merge
14h 50m
Merged PRs (30d)
276

Description

### ๐Ÿ”– Enhancement description

Enable organization administrators to manage 2FA settings for members, including policy enforcement, member 2FA reset, and bulk operations.

**๐Ÿš€ Feature Overview**
**Policy Control:**
- Enforce/disable/make optional 2FA for organization
- Organization-wide security policies

**Member Management:**
- Reset member 2FA (lost device scenarios)
- View 2FA status across organization
- Bulk policy application

### ๐ŸŽค Pitch

**Why implement this:**
- **๐Ÿข Enterprise Compliance**: Required for SOC2, ISO27001 standards
- **๐Ÿ†˜ Incident Response**: Quick 2FA reset capabilities
- **๐Ÿ“Š Centralized Control**: IT teams need organization-wide visibility

**Use Cases:**
- IT administrators managing security for engineering teams
- Compliance teams demonstrating security controls
- Support scenarios when employees lose devices

**๐Ÿ”ง API Example**
```javascript
// Enforce 2FA for organization
await organizations.updateSecurityPolicy({ enforce2FA: true });

// Reset member's 2FA
await organizations.resetMember2FA(memberId);

// View organization 2FA status
const status = await organizations.get2FAStatus();
```

**๐Ÿ“Š Impact**
Critical for enterprise adoption - many businesses require centralized 2FA management for compliance and security governance.

### ๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

- [x] I checked and didn't find similar issue

### ๐Ÿข Have you read the Code of Conduct?

- [x] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.