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

feat: Add allow everyone option to GitHub OAuth2 logins #5086

Merged
merged 7 commits into from
Nov 15, 2022

Conversation

mafredri
Copy link
Member

This PR adds support for GitHub logins without organization/team by introducing a new option, allow everyone.

This PR also fixes an issue where if you are a member of multiple organizations, and have permission to one of the required teams via org X, login might still fail because only the last matched organization was considered.

Thanks to @starcatmeow for the original PR (#4837) and bringing this to our attention!

Closes #4837

@mafredri mafredri requested a review from a team as a code owner November 15, 2022 12:12
@mafredri mafredri requested review from BrunoQuaresma and removed request for a team November 15, 2022 12:12
@mafredri mafredri self-assigned this Nov 15, 2022
@mafredri mafredri requested a review from a team November 15, 2022 12:12
Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma left a comment

Choose a reason for hiding this comment

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

lgtm

@mafredri mafredri merged commit 9fb710a into main Nov 15, 2022
@mafredri mafredri deleted the mafredri/add-allow-everyone-option-to-gh-oauth branch November 15, 2022 16:56
@github-actions github-actions bot locked and limited conversation to collaborators Nov 15, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants