element-hq / element-hq/matrix-authentication-service

Run Complement and Sytest against a MAS-enabled Synapse deployment

Open
#1,686 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
280
Forks
111
Avg merge
3d 1h
Merged PRs (30d)
25

Description

*This issue was originally created by [**@sandhose**](https://github.com/sandhose) at .*

We need to be able to run [complement](https://github.com/matrix-org/complement) and [sytest](https://github.com/matrix-org/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.

- [x] #1584
- [x] #1583
- [x] API for issuing access tokens
- [ ] Adapt Sytest
- [ ] Adapt Complement

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.