-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
Clarify UI authentication behavior around resubmitting the original request #732
Comments
for clarity, we believe synapse's behaviour here (where you only need to submit a |
Also the Client-Server spec for registration does not claim that any parameters are mandatory. This has to be clarified too. |
There's a wide variety of bugs/clarifications to be made for UIA. I'd be inclined to have an MSC that solves all the known problems instead of any particular bits. This could mean replacing the system. |
that sounds like a recipe for it never getting fixed. Where there are small, known, problems, it's extremely frustrating if they all get stacked up behind a big "fix the whole world!" project. (In other words, please let's not scope-creep this into "replace UIA".) |
we don't have to scope it to fixing the world, but I do get increasingly frustrated with MSCs which target extremely narrow parts of the spec - a bit of generalization is good. |
This has come up a few times between client-server developers and it seems that the UI auth process could use some clarification of the required behavior.
In particular, there's different client behavior about whether they should provide the full request during each stage of UI auth or only the auth information (including the session).
The specification for UIA currently says:
The example flows then show the full request repeated with the
auth
dictionary.Synapse includes some code to allow for only the
auth
dict to be sent in subsequent requests which is useful for a couple of reasons:Synapse supports this behavior, but I believe that Dendrite and Conduit do not. Element Android and Element iOS have some different behavior here (Android assumes that the information only needs to be sent once, while iOS sometimes modifies the information during the flow, which isn't really allowed see matrix-org/synapse#7452 / matrix-org/synapse#7455 / element-hq/element-android#1924.) It was mentioned that Element Web "does keep the password in memory (only), both for the UI state of the form and also to send with each UI auth request". I haven't checked other clients, but since Synapse is currently very flexible here it could be hard to know the correct behavior.
CC @bmarty @richvdh
The text was updated successfully, but these errors were encountered: