mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-05-09 08:25:54 +02:00
[PR #919] [CLOSED] feat: Two-Factor Authentication & OIDC/SSO – full implementation with admin UI #1140
Labels
No labels
A1
automated
automated
bug
bug
Closed due to inactivity
contrib
dependencies
dependencies
duplicate
enhancement
feedback
hold
invalid
Notes
P1S
pull-request
security
ThumbsUp
user-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/bambuddy-maziggy-1#1140
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/maziggy/bambuddy/pull/919
Author: @netscout2001
Created: 4/8/2026
Status: ❌ Closed
Base:
dev← Head:feature/2fa-oidc-authentication📝 Commits (10+)
97ade90feat: add 2FA (TOTP + Email OTP) and OIDC authentication1c9d1d4i18n: improve 2FA translations across all localesce7a949test: add 2FA/OIDC unit and integration tests; fix auth middleware public routes1e74ad8security: fix 4 vulnerabilities found during manual audit926a800refactor: replace in-memory auth state with persistent DB tables3b3f0e9chore: add uv.lock for reproducible dependency resolution0bdb856feat: add 2FA & OIDC settings UI under Authentication tabd83effbfix: move twoFa/oidc i18n keys under settings namespace9ff2810fix: correctly nest twoFa/oidc i18n keys inside settings blockea1b784fix: resolve TypeScript build errors in OIDCProviderSettings📊 Changes
32 files changed (+4850 additions, -481 deletions)
View changed files
📝
backend/app/api/routes/auth.py(+42 -0)➕
backend/app/api/routes/mfa.py(+1263 -0)📝
backend/app/core/database.py(+10 -0)📝
backend/app/main.py(+11 -0)📝
backend/app/models/__init__.py(+10 -0)➕
backend/app/models/auth_ephemeral.py(+72 -0)➕
backend/app/models/oidc_provider.py(+70 -0)➕
backend/app/models/user_otp_code.py(+36 -0)➕
backend/app/models/user_totp.py(+46 -0)📝
backend/app/schemas/auth.py(+157 -3)📝
backend/tests/conftest.py(+4 -0)➕
backend/tests/integration/test_mfa_api.py(+676 -0)➕
backend/tests/unit/test_mfa_helpers.py(+49 -0)📝
frontend/src/api/client.ts(+144 -3)➕
frontend/src/components/OIDCProviderSettings.tsx(+344 -0)➕
frontend/src/components/TwoFactorSettings.tsx(+432 -0)📝
frontend/src/contexts/AuthContext.tsx(+18 -5)📝
frontend/src/i18n/locales/de.ts(+91 -0)📝
frontend/src/i18n/locales/en.ts(+91 -0)📝
frontend/src/i18n/locales/fr.ts(+91 -0)...and 12 more files
📄 Description
.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.