bb-plane-fork/apps/api/plane
Nikhil c2ce21e56c
[WEB-5657] feat: add synchronization configuration for multiple providers in authentication adapter (#8336)
* feat: add sync functionality for OAuth providers

- Implemented `check_sync_enabled` method to verify if sync is enabled for Google, GitHub, GitLab, and Gitea.
- Added `sync_user_data` method to update user details, including first name, last name, display name, and avatar.
- Updated configuration variables to include sync options for each provider.
- Integrated sync check into the login/signup process.

* feat: add sync toggle for OAuth providers in configuration forms

* fix: remove default value for sync options in OAuth configuration forms

* chore: delete old avatar and upload a new one

* chore: update class method

* chore: add email nullable

* refactor: streamline sync check for multiple providers and improve avatar deletion logic

* fix: ensure ENABLE_SYNC configurations default to "0" for Gitea, Github, Gitlab, and Google forms

* fix: simplify toggle switch value handling in ControllerSwitch component

---------

Co-authored-by: b-saikrishnakanth <bsaikrishnakanth97@gmail.com>
2025-12-22 12:23:39 +05:30
..
analytics chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
api [WEB-5666] chore: set project timezone same as workspace timezone in project (#8340) 2025-12-16 20:46:53 +05:30
app [WEB-5666] chore: set project timezone same as workspace timezone in project (#8340) 2025-12-16 20:46:53 +05:30
authentication [WEB-5657] feat: add synchronization configuration for multiple providers in authentication adapter (#8336) 2025-12-22 12:23:39 +05:30
bgtasks [SILO-783] feat: added porters and new serializer based exporter (#8335) 2025-12-16 15:20:53 +05:30
db [WEB-5657] feat: add synchronization configuration for multiple providers in authentication adapter (#8336) 2025-12-22 12:23:39 +05:30
license chore: format files in API server (#8292) 2025-12-10 23:50:01 +05:30
middleware [WEB-5575]feat: enhance APITokenLogMiddleware to support logging to MongoDB (#8241) 2025-12-10 01:01:10 +05:30
seeds/data [WEB-5602] feat: new design system (#8220) 2025-12-12 20:50:14 +05:30
settings [WEB-5657] feat: add synchronization configuration for multiple providers in authentication adapter (#8336) 2025-12-22 12:23:39 +05:30
space [WIKI-804] fix: refactor image uploader (#8210) 2025-12-05 13:20:15 +05:30
static [WEB-5592] chore: add static files update settings for static files support (#8251) 2025-12-09 21:05:26 +05:30
tests chore: format files in API server (#8292) 2025-12-10 23:50:01 +05:30
throttles [WIKI-419] chore: new asset duplicate endpoint added (#7172) 2025-11-20 15:05:01 +05:30
utils [WEB-5657] feat: add synchronization configuration for multiple providers in authentication adapter (#8336) 2025-12-22 12:23:39 +05:30
web chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
__init__.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
asgi.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
celery.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
urls.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
wsgi.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30