element-hq / element-hq/synapse

Can't join a room as a guest if email is a required 3pid for registration

Open
#4,146 0 comments 0 reactions 0 assignees View on GitHub
A-Guests A-Join O-Frequent S-Major T-Defect z-bug z-p2
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 6h
Merged PRs (30d)
46

Description

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

---

### Description

I cannot join a room as a guest if email is a required 3pid for registration.

### Steps to reproduce

- Ensure the following is in `homeserver.yaml`
```
enable_registration: true
registrations_require_3pid:
- email
allow_guest_access: true
enable_registration_captcha: true
recaptcha_public_key : "REDACTED"
recaptcha_private_key: "REDACTED"
```
- attempt to join room as guest

I expect to be able to join the room as a guest, but I get `No appropriate authentication flow found`.
If I remove `email` from `registrations_require_3pid` I am able to join as a guest successfully.

### Version information

- **Homeserver**: Self-hosted

If not matrix.org:
- **Version**: v0.33.8
- **Install method**: docker
- **Platform**: Running in Kubernetes behind ingress controller (reverse proxy)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.