matrix-org / matrix-org/matrix-spec

Spec says that room directory is not authed. But in practice, synapse auths it by default.

Open
#2,097 2 comments 0 reactions 0 assignees View on GitHub
spec-bug
Dominant language
HTML
Stars
330
Forks
150
Avg merge
2h 21m
Merged PRs (30d)
3

Description

**Link to problem area**:
https://spec.matrix.org/v1.13/client-server-api/#listing-rooms

**Issue**
Says that `GET /_matrix/client/v3/directory/list/room/{roomId}` doesn't require authentication

In practice, Synapse auths it by default:

https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#allow_public_rooms_without_auth

**Expected behaviour**

Spec should make it clear that servers can auth it (and the federation endpoints) and are encouraged to do so.

Contributor guide

Open the contributing guide

Research direction

Read the room-directory listing section in the Matrix Client-Server API and compare its authentication wording with Synapse's allow_public_rooms_without_auth configuration documentation. Check the related federation endpoint language as well. Done means the specification clearly states that servers may require authentication and are encouraged to do so.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.