mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-10-22 21:54:07 +00:00
39a6132ea86f0a8a70ba50b55a020a477a3bb1bc
The mas-keystore crate is an optional dependency so setting "default-features" to false results in a compilation error. Since the enum is exhaustive, the corresponding error variant cannot be behind a cargo feature. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
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.
Features
- Supported homeservers
- ✅ Synapse
- Authentication methods:
- ✅ Upstream OIDC
- 🚧 Local password
- ‼️ Application Services login (Encrypted bridges)
- 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:
Languages
Rust
83.7%
TypeScript
9.4%
HTML
3.9%
Open Policy Agent
1.2%
CSS
1%
Other
0.7%
