1 unstable release

0.7.0 Dec 7, 2023

#635 in Cryptography

Download history 233/week @ 2023-12-22 351/week @ 2023-12-29 455/week @ 2024-01-05 358/week @ 2024-01-12 556/week @ 2024-01-19 615/week @ 2024-01-26 959/week @ 2024-02-02 635/week @ 2024-02-09 460/week @ 2024-02-16 592/week @ 2024-02-23 614/week @ 2024-03-01 578/week @ 2024-03-08 645/week @ 2024-03-15 296/week @ 2024-03-22 325/week @ 2024-03-29 274/week @ 2024-04-05

1,628 downloads per month
Used in 5 crates (3 directly)

Apache-2.0

230KB
5K SLoC

OAuth2.0 + OpenID Connect Provider for Matrix Homeservers

MAS (Matrix Authentication Service) 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.

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:

Dependencies

~10–18MB
~267K SLoC