Matrix Authentication Service
OAuth 2.0 and OpenID Connect provider for Matrix homeservers
Matrix Authentication Service is a standalone OAuth 2.0 and OpenID Connect provider from Element that handles authentication for Matrix homeservers such as Synapse, moving Matrix login to delegated, standards-based auth. Written in Rust.
Key features
- OAuth 2.0 and OIDC for Matrix
- Delegated authentication
- Modern login flows
- Works with Synapse
Pros & cons
Strengths
- Released under the Apache-2.0 license
- First-class Docker support for quick deployment
- Written in Rust
- Tiny footprint — runs in 256 MB RAM
Trade-offs
- Requires a Matrix homeserver
- Auth component only
Is Matrix Authentication Service secure?
No known vulnerabilities affect Matrix Authentication Service's latest release (v1.27.0). OSV.dev lists 1 past advisory for the project; none of them applies to this release. No known vulnerabilities is not proof of security: it means none have been publicly catalogued.
- Most recent fixed advisory CVE-2025-62425, published 2025-10-16 (363 days ago), fixed in 1.4.0
Source: OSV.dev, checked 2026-10-14. How this is measured.
Health badge
Maintain Matrix Authentication Service? Add its health score to your README. The badge links back to this page.
Similar matrix & xmpp apps
Element Web
Matrix & XMPPGlossy Matrix client for the web and desktop
Replaces Slack, Discord
Tinode
Matrix & XMPPOpen-source instant messaging server
Replaces WhatsApp, Slack
ejabberd
Matrix & XMPPRobust, scalable XMPP messaging server
Replaces Slack, WhatsApp
Dendrite
Matrix & XMPPSecond-generation Matrix homeserver written in Go
Replaces Slack, Discord
Synapse
Matrix & XMPPReference homeserver for the Matrix network
Replaces Slack, Discord
Cinny
Matrix & XMPPSimple, elegant and secure Matrix client
Replaces Slack, Discord