mirror of
https://github.com/element-hq/matrix-authentication-service.git
synced 2026-07-02 20:01:38 +00:00
ce68d63adb
Make `filter[client]` on `GET /api/admin/v1/oauth2-sessions` repeatable so admin tooling can fetch sessions belonging to a set of clients in one request. The field on `FilterParams` changes from `Option<Ulid>` to `Vec<Ulid>`; the struct was already extracted with `axum_extra::extract::Query` so the repeated values are not silently dropped. Each client ULID is validated to exist (mirroring the previous single-client `404` behaviour) before being passed to the new `OAuth2SessionFilter::for_clients` storage filter. The `Display` impl used to reconstruct cursor links now emits one `filter[client]=…` segment per client so pagination preserves the filter. The OpenAPI schema is regenerated via `misc/update.sh` and now describes the parameter as an array.
About this documentation
This documentation is intended to give an overview of how the matrix-authentication-service (MAS) works, both from an admin perspective and from a developer perspective.
MAS 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.
The documentation itself is built using mdBook. A hosted version is available at https://element-hq.github.io/matrix-authentication-service/.
How the documentation is organized
This documentation has four main sections:
- The installation guide will guide you through the process of setting up the
matrix-authentication-serviceon your own infrastructure. - The topics sections goes into more details about how the service works, like the policy engine and how authorization sessions are managed.
- The reference documentation covers configuration options, the Admin API, the scopes supported by the service, and the command line interface.
- The developer documentation is intended for people who want to contribute to the project. Developers may also be interested in: