From 3c8624b1ba4fd849f33803aa0fe9aaee5179bb29 Mon Sep 17 00:00:00 2001 From: Prateek Shourya Date: Wed, 24 Dec 2025 20:20:12 +0530 Subject: [PATCH] [WEB-5324] refactor: add Unified OAuth Configuration and Missing Gitea Options (#8050) * refactor: add Unified OAuth Configuration and Missing Gitea Options - Replaced the AuthenticationModes component with a more streamlined implementation using AuthenticationMethodCard. - Removed obsolete authentication modes files from the codebase. - Enhanced the AuthRoot component to utilize the new OAuth configuration hook for better management of authentication options. - Updated type definitions for instance authentication modes to reflect the new structure. * refactor: update OAuth type imports and remove obsolete types - Replaced local type imports with centralized imports from @plane/types in core, extended, and index OAuth hooks. - Removed the now redundant types.ts file as its definitions have been migrated. - Enhanced type definitions for OAuth options to improve consistency across the application. * feat: add new Gitea logo and update OAuth icon imports to use standard HTML img tags * chore: remove unused authentication logos and upgrade button component --- apps/admin/app/assets/logos/oidc-logo.svg | 11 ----------- apps/admin/app/assets/logos/saml-logo.svg | 17 ----------------- 2 files changed, 28 deletions(-) delete mode 100644 apps/admin/app/assets/logos/oidc-logo.svg delete mode 100644 apps/admin/app/assets/logos/saml-logo.svg diff --git a/apps/admin/app/assets/logos/oidc-logo.svg b/apps/admin/app/assets/logos/oidc-logo.svg deleted file mode 100644 index 68bc72d01f..0000000000 --- a/apps/admin/app/assets/logos/oidc-logo.svg +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - - diff --git a/apps/admin/app/assets/logos/saml-logo.svg b/apps/admin/app/assets/logos/saml-logo.svg deleted file mode 100644 index 4cbb4f81d3..0000000000 --- a/apps/admin/app/assets/logos/saml-logo.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - -