Skip to content

Full MAS integration#1103

Draft
aine-etke wants to merge 2 commits intomainfrom
full-mas-integration
Draft

Full MAS integration#1103
aine-etke wants to merge 2 commits intomainfrom
full-mas-integration

Conversation

@aine-etke
Copy link
Member

No description provided.

beastafk and others added 2 commits March 20, 2026 22:17
* Add MAS (Matrix Authentication Service) admin API integration

  Implements full coverage of the MAS Admin API v1 spec (37 paths, 45
  endpoints) alongside the existing Synapse admin UI. When MAS is detected
  at login, MAS-specific resources replace or extend the Synapse defaults.

  New resources (sidebar menu, list + create/delete where applicable):
  - Personal Sessions — list, create (shows one-time access token in dialog
    after creation), revoke
  - Compat Sessions — list, finish
  - OAuth2 Sessions — list, finish
  - User Sessions — list, finish
  - User Emails — list, create, delete
  - Upstream OAuth Links — list, create, delete
  - Upstream OAuth Providers — list (read-only, from MAS YAML config)
  - Registration Tokens — full CRUD (replaces Synapse tokens in MAS mode)
  - Policy Data — dedicated page, set/view current policy URL
  - Users — MAS user list replaces Synapse users; lock/unlock,
    deactivate/reactivate, set-admin, set-password actions on edit page
  Provider layer:
  - dataProvider.ts: MAS-aware resource routing, cursor-based pagination
  - mas.ts: all MAS API helpers, resource definitions, action functions
  - types.ts: full TypeScript types for all MAS API responses

* Pin flatted version

* Fix server status polling
@aine-etke aine-etke added the enhancement New feature or request label Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants