Skip to content

chore: deduplicate OAuth login code #3575

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

Merged
merged 6 commits into from
Aug 22, 2022
Merged

chore: deduplicate OAuth login code #3575

merged 6 commits into from
Aug 22, 2022

Conversation

sreya
Copy link
Collaborator

@sreya sreya commented Aug 19, 2022

  • Use transaction for creating OAuth users.

The code paths for OIDC and Github were virtually identical once they passed the OAuth parsing/validation phases. This PR merges those code paths into a single function.

@sreya sreya requested a review from kylecarbs August 19, 2022 04:01
@sreya sreya merged commit a7b4978 into main Aug 22, 2022
@sreya sreya deleted the jon/improveuserauth branch August 22, 2022 23:13
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