Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Make auth argument in the register request compliant with r0.6.0 #4347

Merged
merged 9 commits into from
Jun 2, 2020

Conversation

MTRNord
Copy link
Contributor

@MTRNord MTRNord commented Apr 6, 2020

This change requires: matrix-org/matrix-js-sdk#1304

This fix is tested with synapse and works fine on matrix.org!

This fix is required for https://git.koesters.xyz/timo/matrixserver which implements the r0.6.0 spec. In that spec version it says that auth shouldn't be auth: {} but rather not be present. This fix should fix this. I tested it both with synapse and the linked server to check that everything still works

Signed-off-by: Marcel Radzio[email protected]

…so accepted null for the auth part of the registration request object

Took 18 minutes
@turt2live turt2live self-requested a review April 6, 2020 15:55
@turt2live turt2live added the Z-Community-PR Issue is solved by a community member's PR label Apr 6, 2020
@MTRNord
Copy link
Contributor Author

MTRNord commented Apr 7, 2020

@turt2live any chance that you can give me a hint why the dialog in the end to end tests might be affected by my change? I don't really see the connection but I might miss something

@turt2live
Copy link
Member

Looks like it isn't, just our tests being flakey

@MTRNord
Copy link
Contributor Author

MTRNord commented Apr 7, 2020

Ok I dont have any further commits in that case :)

turt2live
turt2live previously approved these changes Apr 8, 2020
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@MTRNord
Copy link
Contributor Author

MTRNord commented Apr 8, 2020

@turt2live no problem. Will fix the comment on the js-sdk companion pr too. But I think that will take longer as I need to find where this specific case actually happens. Looking at this now I realise that that check was more a hack than a solution ^^

@turt2live turt2live dismissed their stale review May 27, 2020 19:17

review no longer relevant

@turt2live
Copy link
Member

@turt2live turt2live requested a review from a team May 27, 2020 19:56
@turt2live turt2live added the X-Release-Blocker This affects the current release cycle and must be solved for a release to happen label May 29, 2020
Copy link
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks reasonable to me! 😁

@jryans jryans merged commit 0717c77 into matrix-org:develop Jun 2, 2020
@jryans
Copy link
Collaborator

jryans commented Jun 2, 2020

(Merged now as this was our last release blocker, and I'd like to start the RC process.)

@MTRNord MTRNord deleted the fix-register-auth-with-new-spec branch June 2, 2020 09:26
aaronraimist added a commit to aaronraimist/riot-ios that referenced this pull request Feb 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
X-Release-Blocker This affects the current release cycle and must be solved for a release to happen Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants