bb-plane-fork/apps/api/plane/authentication
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
..
adapter [WEB-5657] feat: add synchronization configuration for multiple providers in authentication adapter (#8336) 2025-12-22 12:23:39 +05:30
middleware [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
provider chore: format files in API server (#8292) 2025-12-10 23:50:01 +05:30
utils [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
views chore: format files in API server (#8292) 2025-12-10 23:50:01 +05:30
__init__.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
apps.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
rate_limit.py [WEB-5430] feat: allow users to change email (#8120) 2025-11-24 21:21:52 +05:30
session.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
urls.py [WEB-5262] feat: gitea sso (#8022) 2025-10-28 18:53:54 +05:30