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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃獰 馃悰 Fix duplicate createUser calls on signup #21454

Merged
merged 8 commits into from
Jan 16, 2023

Conversation

josephkmh
Copy link
Contributor

@josephkmh josephkmh commented Jan 16, 2023

What

onAfterAuth() was being called multiple times. This in turn was causing multiple calls to web_backend/users/create with the same user information, which caused many 409s (conflicting user names) and spamming our oncall with failed requests.

How

Reverts the change introduced in #21175

Considerations

The auth service is missing tests, which could help avoid this. The component is complex and depends on many other modules, so testing this is out of scope for this PR.

@octavia-squidington-iv octavia-squidington-iv added the area/frontend Related to the Airbyte webapp label Jan 16, 2023
@josephkmh
Copy link
Contributor Author

@tealjulia FYI

@teallarson
Copy link
Contributor

Thanks for the tag. Saw the Slack thread yesterday and thought this might be the culprit.

Copy link
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

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

LGTM; as discussed in Slack this is a simple revert of #21175 - a new issue will be created to track the new proper fix of that

@josephkmh josephkmh merged commit 1757a6e into master Jan 16, 2023
@josephkmh josephkmh deleted the joey/revert-automatic-logout branch January 16, 2023 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to the Airbyte webapp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants