Local fork of element-hq/matrix-authentication-service. Upstream: https://github.com/element-hq/matrix-authentication-service
  • Rust 83.3%
  • TypeScript 9.9%
  • HTML 4%
  • Open Policy Agent 1%
  • CSS 0.9%
  • Other 0.7%
Find a file
Olivier 'reivilibre 1d428b0624
Some checks failed
merge-back.yaml / build(deps): bump rustls-webpki from 0.103.10 to 0.103.13 (#5650) (push) Failing after 0s
tag.yaml / build(deps): bump rustls-webpki from 0.103.10 to 0.103.13 (#5650) (push) Failing after 0s
Build / Compute version using git describe (push) Has been cancelled
Build / Build assets (push) Has been cancelled
Build / Build binaries (push) Has been cancelled
Build / Build binaries-1 (push) Has been cancelled
Build / Assemble release archives (push) Has been cancelled
Build / Build and push Docker image (push) Has been cancelled
Build / Release (push) Has been cancelled
Build / Update the unstable release (push) Has been cancelled
Build / Remove workflow build PR label and comment on it (push) Has been cancelled
CI / Lint and test OPA policies (push) Has been cancelled
CI / Check frontend style (push) Has been cancelled
CI / Run the frontend test suite (push) Has been cancelled
CI / Check the frontend for unused dependencies (push) Has been cancelled
CI / Check Rust style (push) Has been cancelled
CI / Run `cargo deny` checks (push) Has been cancelled
CI / Check schema (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Compile test artifacts (push) Has been cancelled
CI / Run test suite with Rust stable (push) Has been cancelled
CI / Run test suite with Rust stable-1 (push) Has been cancelled
CI / Run test suite with Rust stable-2 (push) Has been cancelled
CI / Tests done (push) Has been cancelled
Coverage / Run OPA test suite with coverage (push) Has been cancelled
Coverage / Run frontend test suite with coverage (push) Has been cancelled
Coverage / Run Rust test suite with coverage (push) Has been cancelled
Build and deploy the documentation / Build the documentation (push) Has been cancelled
Build and deploy the documentation / Deploy the documentation on GitHub Pages (push) Has been cancelled
Upload translation files to Localazy / upload (push) Has been cancelled
build(deps): bump rustls-webpki from 0.103.10 to 0.103.13 (#5650)
2026-04-23 16:32:09 +00: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 build(deps): bump docker/bake-action from 7.0.0 to 7.1.0 (#5624) 2026-04-10 17:08:00 +00:00
crates Upgrade opa-wasm to 0.2.0 to upgrade wasmtime 2026-04-13 18:10:19 +02:00
docs Add some docs for debugging policies 2026-04-09 16:19:17 -05:00
frontend Translations updates 2026-04-14 12:03:04 +00:00
misc Fix the building of the docs with mdbook 0.5 2025-11-19 13:14:54 +01:00
policies Fix wrong username regex 2026-02-07 11:44:22 +01:00
templates feat(recaptcha): change recaptcha endpoint 2026-03-15 18:18:14 +08:00
translations Translations updates 2026-03-17 14:25:21 +00:00
.codecov.yml Add license headers in most files that missed them 2025-06-12 11:01:07 +02:00
.dockerignore Add license headers in most files that missed them 2025-06-12 11:01:07 +02:00
.editorconfig Add license headers in most files that missed them 2025-06-12 11:01:07 +02:00
.gitignore Fix .gitignore for cargo target directory. 2025-06-29 08:12:50 +00:00
.rustfmt.toml Add license headers in most files that missed them 2025-06-12 11:01:07 +02:00
biome.json Ignore a few linting errors 2025-09-12 09:46:52 +02:00
book.toml Fix the building of the docs with mdbook 0.5 2025-11-19 13:14:54 +01:00
Cargo.lock build(deps): bump rustls-webpki from 0.103.10 to 0.103.13 2026-04-23 01:20:28 +00:00
Cargo.toml 1.16.0-rc.0 2026-04-14 12:23:53 +00:00
clippy.toml use axum_extract's version of Query everywhere 2025-10-21 11:30:11 +01:00
CONTRIBUTING.md Update the contributing guidelines 2025-06-11 15:57:12 +02:00
deny.toml Update skip list in deny.toml 2026-04-13 18:24:08 +02:00
docker-bake.hcl Add license headers in most files that missed them 2025-06-12 11:01:07 +02:00
Dockerfile Update dockerfile frontend 2026-02-04 18:35:44 +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 Don't let Localazy fallback to the source language 2025-05-05 14:47:50 +02:00
README.md Keep the copyright info consistent with the rest 2026-01-14 14:36:06 +01: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.