Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 of 5 tasks
matrixbot opened this issue Sep 9, 2024 · 1 comment
Open
3 of 5 tasks

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @sandhose at matrix-org/matrix-authentication-service#1686.

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.

@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @erikjohnston at matrix-org/matrix-authentication-service#1686 (comment).

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?

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

No branches or pull requests

1 participant