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

Run Complement and Sytest against a MAS-enabled Synapse deployment #1686

Open
3 of 5 tasks
sandhose opened this issue Sep 4, 2023 · 2 comments
Open
3 of 5 tasks

Run Complement and Sytest against a MAS-enabled Synapse deployment #1686

sandhose opened this issue Sep 4, 2023 · 2 comments

Comments

@sandhose
Copy link
Member

sandhose commented Sep 4, 2023

We need to be able to run complement and sytest a MAS-enabled Synapse deployment

Because those are running in headless environments, we need an automated way to create and revoke tokens, an alternative to the C-S /login API. The plan to do this is to leverage MAS' GraphQL admin API to do this.
A prerequisite for Complement/Sytest to be able to call this admin API is to have the Client Credentials grant (which we need anyway in other contexts). Once that is done, we need to add an API to issue (and revoke) access tokens through the GraphQL API, which will let Complement/Sytest issue and revoke token for arbitrary users in an automated way.

@erikjohnston
Copy link
Member

As a first step could we write a sytest or complement test that logs in with OIDC? Basically have a small, new test suite just for Synapse + MAS combo?

@matrixbot
Copy link
Member

For your information, this issue has been copied over to the Element fork of matrix-authentication-service: element-hq/matrix-authentication-service#1686

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants