-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Make synapse-admin work with matrix-authentication-service #38
Comments
We recently added a client implementation guide on areweoidcyet.com which should greatly help understand how the new login API work: https://areweoidcyet.com/client-implementation-guide/ The general API is very similar to m.login.sso, with some extra steps. |
Updated the issue's description to include access token workaround |
I tried this but the token does not work. |
@xundeenergie not sure what's wrong, but there are reports this approach with compatibility token works as expected. |
Matrix-authrntication-service (MAS) is a real OIDC authentication system and you could authorize users with optional client-scope urn:synapse:admin:* to gain synapse admin privileges for a session to be able to use synapse-admin when MAS is configerd on a homeserver as auth-service.
Here is a referencing issue, what clients need.
element-hq/matrix-authentication-service#2187
And an upstream issue
Awesome-Technologies/synapse-admin#429
updated by maintainers
Temporary workaround - generate a correct access token using MAS CLI and use it with "access token" login in Synapse Admin:
If you are using MAS with docker, you probably should use the following command (replace the
NAME_OR_ID
with actual container name/id):docker exec -it NAME_OR_ID manage issue-compatibility-token --yes-i-want-to-grant-synapse-admin-privileges [username]
The text was updated successfully, but these errors were encountered: