Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

matrix-org/matrix-authentication-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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: