Files
matrix-authentication-service/docs
Devon HudsonandClaude Opus 5.5 ba7a1d1492 Add a username and an email address to registration tokens
A registration token can now carry the username and the email address
the account registered with it has to use. The admin API takes both when
creating a token and reports them on every token it returns, and
`manage issue-user-registration-token` takes `--username` and `--email`.

The admin API checks the pins when a token is created, so that it
doesn't mint a token nobody can register with: a pinned email must
parse, both must pass the registration policy, and a pinned username
must not be taken already.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FqDpJaaUkGGq5GiEbU9G3f
2026-11-06 19:36:59 +00:00
..

About this documentation

This documentation is intended to give an overview of how the matrix-authentication-service (MAS) works, both from an admin perspective and from a developer perspective.

MAS is an OAuth 2.0 and OpenID Provider server for Matrix. It has been created to support the migration of Matrix to an OpenID Connect (OIDC) based authentication layer as per MSC3861.

The documentation itself is built using mdBook. A hosted version is available at https://element-hq.github.io/matrix-authentication-service/.

How the documentation is organized

This documentation has four main sections: