5 releases (breaking)
0.11.0 | Sep 4, 2024 |
---|---|
0.10.0 | Aug 19, 2024 |
0.9.0 | May 2, 2024 |
0.8.0 | May 2, 2024 |
0.7.0 | Dec 7, 2023 |
#514 in Authentication
945 downloads per month
Used in mas-oidc-client
470KB
9K
SLoC
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.
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:
lib.rs
:
OAuth 2.0 and OpenID Connect types.
This is part of the Matrix Authentication Service project.
Dependencies
~15MB
~286K SLoC