Matrix Authentication Service is the user management and authentication layer in the Matrix stack part of the Element Server Suite
  • Rust 83.8%
  • TypeScript 9.4%
  • HTML 3.9%
  • Open Policy Agent 1.2%
  • CSS 1%
  • Other 0.6%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-10 19:46:41 +01:00
.cargo Add license headers in most files that missed them 2025-06-12 11:01:07 +02:00
.config Add license headers in most files that missed them 2025-06-12 11:01:07 +02:00
.github Make the @element-hq/synapse-core team own this repository 2026-11-05 10:52:02 +01:00
crates Merge branch 'main' into quenting/vergen-rerun-on-describe 2026-11-09 13:47:30 +01:00
docs Regenerate the JSON schemas for schemars 1.2.3 2026-11-02 13:08:46 +01:00
frontend Translations updates 2026-11-10 18:07:20 +00:00
misc Declare the Node.js version in devEngines.runtime 2026-09-07 16:04:48 +02:00
policies Regenerate the JSON schemas for schemars 1.2.3 2026-11-02 13:08:46 +01:00
templates Check the username availability as it is typed in the registration form 2026-10-16 11:34:22 +02:00
translations Translations updates 2026-11-10 18:07:20 +00:00
.codecov.yml Add license headers in most files that missed them 2025-06-12 11:01:07 +02:00
.dockerignore Dockerfile: build the frontend with pnpm 2026-05-12 12:51:21 +02:00
.editorconfig Add license headers in most files that missed them 2025-06-12 11:01:07 +02:00
.gitignore Migrate from npm to pnpm workspace 2026-05-12 12:13:46 +02:00
.node-version Update Node.js to 24.22.1 2026-10-22 02:49:48 +11:00
.rustfmt.toml Stop wrapping comments in rustfmt, drop redundant options 2026-09-03 19:17:18 +02:00
biome.json biome: enable CSS tailwind directives parser 2026-05-25 16:31:36 +02:00
book.toml docs: Refer to the spec rather than MSC4190 for appservice device management 2026-09-30 10:08:56 +02:00
Cargo.lock 1.29.0 2026-11-10 18:31:03 +00:00
Cargo.toml 1.29.0 2026-11-10 18:31:03 +00:00
clippy.toml Upgrade ulid to 3.0 2026-10-09 16:50:36 +02:00
CONTRIBUTING.md Update the contributing guidelines 2025-06-11 15:57:12 +02:00
deny.toml Update the darling skip comments in deny.toml 2026-11-02 14:44:52 +01:00
docker-bake.hcl Split multi-arch Docker build into parallel jobs 2026-05-20 12:57:22 +02:00
Dockerfile Merge branch 'main' into quenting/deps-opa 2026-10-30 18:06:24 +01:00
LICENSE Change LICENSE files 2024-09-10 14:28:55 +02:00
LICENSE-COMMERCIAL dual licence 2025-06-12 10:31:53 +02:00
localazy.json Automatically deprecate translation strings removed from the source code 2026-07-10 12:27:43 +02:00
package.json build(deps-dev): bump @localazy/cli from 2.0.11 to 2.0.12 2026-11-02 14:19:21 +00:00
pnpm-lock.yaml build(deps): bump the tanstack-router group across 1 directory with 3 updates (#6143) 2026-11-02 23:23:43 +01:00
pnpm-workspace.yaml Keep the @radix-ui/react-dialog override in sync with frontend/package.json 2026-11-02 16:44:48 +01:00
README.md Keep the copyright info consistent with the rest 2026-01-14 14:36:06 +01:00
rust-toolchain.toml build(deps): bump rust-toolchain from 1.98.1 to 1.99.1 2026-10-27 14:27:29 +00:00

Matrix Authentication Service

MAS (Matrix Authentication Service) is a user management and authentication service for Matrix homeservers, written and maintained by Element. You can directly run and manage the source code in this repository, available under an AGPL license (or alternatively under a commercial license from Element). Support is not provided by Element unless you have a subscription.

It has been created to support the migration of Matrix to a next-generation of auth APIs per MSC3861.

See the Documentation for information on installation and use.

You can learn more about Matrix and next-generation auth at areweoidcyet.com.

🚀 Getting started

This component is developed and maintained by Element. It gets shipped as part of the Element Server Suite (ESS) which provides the official means of deployment.

ESS is a Matrix distribution from Element with focus on quality and ease of use. It ships a full Matrix stack tailored to the respective use case.

There are three editions of ESS:

  • ESS Community - the free Matrix distribution from Element tailored to small-/mid-scale, non-commercial community use cases
  • ESS Pro - the commercial Matrix distribution from Element for professional use
  • ESS TI-M - a special version of ESS Pro focused on the requirements of TI-Messenger Pro and ePA as specified by the German National Digital Health Agency Gematik

💬 Community room

Developers and users of Matrix Authentication Service can chat in the #matrix-auth:matrix.org room on Matrix.

🛠️ Standalone installation and configuration

The best way to get a modern Element Matrix stack is through the Element Server Suite, which includes MAS.

The MAS documentation describes how to install and configure MAS. We recommend using the Docker image or the pre-built binaries.

📖 Translations

Matrix Authentication Service is available in multiple languages. Anyone can contribute to translations through Localazy.

🏗️ Contributing

See the contribution guidelines for information on how to contribute to this project.

Copyright 2021-2024 The Matrix.org Foundation C.I.C.

Copyright 2024, 2025 New Vector Ltd.

Copyright 2025, 2026 Element Creations Ltd.

This software is dual-licensed by Element Creations Ltd (Element). It can be used either:

(1) for free under the terms of the GNU Affero General Public License (as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version); OR

(2) under the terms of a paid-for Element Commercial License agreement between you and Element (the terms of which may vary depending on what you and Element have agreed to). Unless required by applicable law or agreed to in writing, software distributed under the Licenses is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Licenses for the specific language governing permissions and limitations under the Licenses.