Skip to content

If authentication failed, no steps completed#1094

Open
kroeckx wants to merge 2 commits intomatrix-org:developfrom
kroeckx:auth_completed
Open

If authentication failed, no steps completed#1094
kroeckx wants to merge 2 commits intomatrix-org:developfrom
kroeckx:auth_completed

Conversation

@kroeckx
Copy link
Contributor

@kroeckx kroeckx commented Jul 21, 2021

Signed-off-by: Kurt Roeckx kurt@roeckx.be

@richvdh
Copy link
Member

richvdh commented Jul 22, 2021

Please could you merge develop

Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
@kroeckx
Copy link
Contributor Author

kroeckx commented Jul 23, 2021

It seems Synapse claims m.login.dummy completed, which is not in the flows.

Signed-off-by: Kurt Roeckx <kurt@roeckx.be>
@richvdh richvdh requested a review from a team July 26, 2021 14:08
Comment on lines +53 to +54
exists $body->{completed} and die "Got an unexpected 'completed' key";

Copy link
Member

Choose a reason for hiding this comment

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

I'm not entirely convinced that the presence of completed should be a failure here.

I agree that completed should not be required.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It seems the test I did against synapse was something else. It seems synapse returns: "completed":[], which makes sense.

I guess this is an other case where the specification isn't really clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants