element-hq / element-hq/synapse

Cannot use password auth provider callbacks when OAuth delegation is enabled

Open
#18,423 0 comments 0 reactions 0 assignees View on GitHub
A-Legacy-Auth T-Enhancement z-auth
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

**Description:**

I would like to use Matrix Auth Service for OAuth through Google while also maintaining an LDAP server of local users and passwords. This is [currently not supported](https://github.com/element-hq/synapse/blob/1920dfff40ad1078071e099a2afbfa31a5409e6b/synapse/module_api/__init__.py#L443).

Contributor guide

Open the contributing guide

Research direction

Start by reading synapse/module_api/__init__.py at the linked callback restriction, then trace how OAuth delegation and password-auth provider callbacks are handled. Identify the relevant tests or entry points for both mechanisms; done means they can be enabled together while LDAP-backed password users continue to authenticate.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.