Skip to content
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

Fix for receiving untagged response during SASL auth #743

Merged
merged 2 commits into from
Jun 27, 2023
Merged

Conversation

danieleggert
Copy link
Collaborator

This fixes #729 and adds tests.

Motivation:

The client will hang if it receives an untagged response during authentication. Gmail does send such a response, and Gmail OAUTH is thus broken without this fix.

Thanks for @stephengoodman for tracking down this issue.

Modifications:

Ignore untagged responses inside AuthenticationStateMachine. Add tests.

Result:

Gmail authentication works.

@danieleggert danieleggert merged commit c041371 into main Jun 27, 2023
@danieleggert danieleggert deleted the oauth branch June 27, 2023 16:03
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