-
Notifications
You must be signed in to change notification settings - Fork 371
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
Updating login endpoint spec to match new identifier format #1038
Conversation
Can one of the admins verify this patch? |
Signed-off-by: Maxime Dor @ Kamax.io (no email to avoid spam) |
@richvdh What can I do or who can I ping to move this forward? |
oh, me. Thanks very much for looking at this. I'll take a look soon but spec work has taken up a lot of time this week and I need to get some other code written to meet a deadline. |
@matrixbot: test this please |
Sadly I think we're going to have to document the old format as something that servers have to support as well :/. Also: please could you add a changelog entry? |
@richvdh not sure I follow: do you want me to redo this PR to include the old format (which was never used AFAIK) and the new format side-by-side? This PR is about documenting the existing behavior. What can I do to only document the current behavior of things? |
The old format was used by Riot for a long time, and is still used by other clients (for example, libqmatrixclient uses it). It still works fine for the case of email identifiers; of course for other identifiers you need to use the new format. One of the principles behind the C-S versioning scheme is that we try hard to avoid changes that are going to break clients. The C-S Spec is the thing that documents what we expect servers to support, and in short I expect servers claiming to implement the r0 api to support the old format - though we can certainly flag it as deprecated as far as clients are concerned. So: yes I'd like you to include both the new and old format. I'm not exactly sure what form that ought to take - it doesn't necessarily need to combine both together, provided the spec ends up documenting the old format as well as the new one so that servers can support clients like libqmatrixclient. |
Ah I see, totally missed the part where this is actually still in use. I believed it was simply never true as I never saw the old format being used. |
As I'm focusing on documenting the current behavior, I'll close this for now and revisit later. |
…example Fix origin server name in S2S Request Authentication example.
Followed @richvdh recommendation to fix spec for next iteration
Signed-off-by: Max Dor @ Kamax.io (no email to avoid spam)