element-hq / element-hq/synapse

It's very confusing that if you try to /register with an m.login.password auth type, you just get back 'M_MISSING_PARAM' with no reason (SYN-751)

Open
#1,584 0 comments 0 reactions 0 assignees View on GitHub
S-Tolerable T-Enhancement
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#1584](https://github.com/matrix-org/synapse/issues/1584).

---

Submitted by @​matthew:matrix.org
Given that m.login.password is never a valid registration flow, and you probably want m.login.dummy instead

(Imported from https://matrix.org/jira/browse/SYN-751)

Contributor guide

Open the contributing guide

Research direction

Start by tracing the /register handling for the m.login.password auth type. Confirm the current M_MISSING_PARAM response and determine how the error should explain that this is not a valid registration flow and that m.login.dummy may be appropriate; done when the response gives a useful reason.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.