-
Notifications
You must be signed in to change notification settings - Fork 130
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
MAS compatibility issues #429
Comments
It is related to: matrix-org/matrix-authentication-service#2187 (comment) |
Is there any workaround? I can't use synapse-admin on any of my two servers which both use MAS due to Element-X capability. Any way to access them with admin? |
@awesome-manuel I really need to access my server admin panels ... is there any workaround or tweak to log in on a server running MAS? |
This is a big issue for me too: I'm not goint into MAS due to the fact I cannot admin the server . |
As soon as the adminAPI responses with the first "You are not a server admin", synapse admin will terminate the session (did not check if this behavior is configurable). There is quite a dirty workaround: If you temporary block the adminAPI (either on the client- or the server side), the session will be kept open. |
@schwadim do you have a log of the browser debug console to share? |
@awesome-manuel I am working on a testing environment with lots of issues and moving parts. In essence all I'm doing is:
|
I need to know the exact answer of synpase that you need to block. Maybe this can be detected to be a MAS request. |
I am blocking all requests towards Receiving such a response, synapse-admin silently performs a logout. If not blocked, the first request leading to a logout happens to be: So I'm simply gaining time to actually assign the required permissions to the session. |
Instead of tweaking the MAS database, one can also generate a new token via Yet another workaround would be:
|
A real OIDC login workflow is required for synapse-admin with MAS. |
@awesome-manuel Just asking if this is genrally planned to be fixed? Would be great to be able to use Synapse-Admin again after 10 months ... ;-) |
First step is to add A helpful guide could be: https://areweoidcyet.com/client-implementation-guide/ |
Prerequisites
Steps to Reproduce
Problem
MAS doesn't let you get "synapse admin" rights through the legacy auth flow, as the legacy flow doesn't have a way to specify whether the session should have the admin rights or not. Best option would be native OIDC implementation in Synapse-Admin to work with MAS.
Or you can add possibility to use static pre-generated admin token which can be issued using CLI.
The text was updated successfully, but these errors were encountered: