OAuth2.0 + OpenID Provider for Matrix Homeservers
  • Rust 77%
  • TypeScript 15%
  • HTML 5%
  • CSS 1.6%
  • Open Policy Agent 0.8%
  • Other 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2024-09-10 16:56:01 +02:00
.devcontainer Load environment variables from .env files 2021-08-15 09:21:15 +00:00
.github build(deps): bump actions/upload-artifact from 4.3.6 to 4.4.0 2024-09-03 17:49:29 +02:00
crates build(deps): bump indexmap from 2.4.0 to 2.5.0 2024-09-03 17:47:58 +02:00
docs Fix the email policy documentation indentation 2024-09-03 17:47:43 +02:00
frontend Translations updates 2024-09-03 18:01:51 +02:00
misc Host a Swagger UI both in the static documentation and by the server 2024-08-01 15:17:14 +02:00
policies Remove OPA-based password policy enforcement (#2875) 2024-07-16 14:33:04 +01:00
templates Add rate-limiting for account recovery and registration (#3093) 2024-08-07 17:57:36 +00:00
theme Add deprecation notice to the docs 2024-09-10 16:56:00 +02:00
tools/syn2mas 0.11.0 2024-09-04 09:58:40 +00:00
translations Translations updates 2024-08-30 16:29:26 +02:00
.codecov.yml Tweak the codecov setup 2022-07-04 15:49:58 +02:00
.dockerignore Docker build config 2023-10-09 15:53:13 +02:00
.editorconfig Polish all forms and add nice page headings to most screens 2023-10-30 15:55:15 +01:00
.gitattributes Support for applying OPA policies during client registration 2022-06-03 13:37:20 +02:00
.gitignore initial commit 2021-06-10 13:48:28 +02:00
.rustfmt.toml Configure rustfmt & clippy lints 2021-07-09 16:03:39 +02:00
book.toml Add deprecation notice to the docs 2024-09-10 16:56:00 +02:00
Cargo.lock 0.11.0 2024-09-04 09:58:40 +00:00
Cargo.toml 0.11.0 2024-09-04 09:58:40 +00:00
clippy.toml storage: split the repository trait 2023-01-24 16:05:14 +01:00
CONTRIBUTING.md update contributing docs with DCO 2024-07-25 10:01:53 +02:00
deny.toml Bump sqlx to 0.8.1 2024-08-30 16:29:41 +02:00
docker-bake.hcl ci: build syn2mas docker image as part of the build.yaml workflow 2023-10-09 15:53:13 +02:00
Dockerfile docker: remove redundant target platform 2024-08-30 19:45:25 +02:00
LICENSE Add README and LICENSE 2021-07-08 14:41:54 +02:00
localazy.json Make all compound themes and all locales available in Storybook 2024-02-21 17:52:03 +01:00
overview.png Diagram + clarify about upstream OIDC support 2023-09-13 14:57:01 +02:00
README.md Note in the README 2024-09-10 16:56:01 +02:00

OAuth2.0 + OpenID Connect Provider for Matrix Homeservers

matrix-authentication-service is now actively maintained at element-hq/matrix-authentication-service

MAS (Matrix Authentication Service) is an OAuth 2.0 and OpenID Provider server for Matrix developed from 2021 through 2024 as part of the Matrix.org Foundation. The Matrix.org Foundation is not able to resource maintenance of matrix-authentication-service and it continues to be developed by Element.

See The future of Synapse and Dendrite blog post for more information.


It has been created to support the migration of Matrix to an OpenID Connect (OIDC) based authentication layer as per MSC3861.

See the Documentation for information on installation and use.

You can learn more about Matrix and OIDC at areweoidcyet.com.

Delegated OIDC architecture with MAS overview

Features

  • Supported homeservers
    • ✅ Synapse
  • Authentication methods:
  • Migration support
    • ✅ Compatibility layer for legacy Matrix authentication
    • ✅ Advisor on migration readiness
    • ✅ Import users from Synapse
    • ✅ Import password hashes from Synapse
    • ✅ Import of external subject IDs for upstream identity providers from Synapse

Upstream Identity Providers

MAS is known to work with the following upstream IdPs via OIDC: