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(wip): support specific auth method validation #4

Merged
merged 5 commits into from
Dec 10, 2023

Conversation

markphelps
Copy link

@erka , I think this might work to validate that they have the required read:org scopes if they have allowed_organizations required

re: flipt-io#2508 (comment)

This is still WIP as I need to add some tests, but wanted to unblock you and get yours and @GeorgeMac 's thoughts

@erka
Copy link
Owner

erka commented Dec 9, 2023

It looks good to me

Copy link

github-actions bot commented Dec 10, 2023

Uffizzi Ephemeral Environment deployment-42477

☁️ https://app.uffizzi.com/github.com/erka/flipt/pull/4

📄 View Application Logs etc.

⏰ This Preview will be destroyed in 1 hours at: Sun Dec 10 03:14:57 UTC 2023

What is Uffizzi? Learn more!

@GeorgeMac
Copy link

Looks great. My phone is not letting me add a review, but it’s a thumbs up from me.

@markphelps
Copy link
Author

@erka do you want to merge this into your branch/pr then we can merge that into main?

@erka erka merged commit 46e01d8 into erka:github-auth-member-of-org Dec 10, 2023
erka added a commit that referenced this pull request Dec 11, 2023
…-io#2508)

* feat(auth/github): add organization membership check to GitHub
authentication method

fixes flipt-io#2065

* rename configuration option

* cleanup

* cleanup

* improve code test coverage

* Update internal/config/authentication.go

Co-authored-by: Mark Phelps <209477+markphelps@users.noreply.github.com>

* address PR review feedback

* cleanup

* feat: support specific auth method validation (#4)

---------

Co-authored-by: Mark Phelps <209477+markphelps@users.noreply.github.com>
@markphelps markphelps deleted the wip-validate-auth branch April 1, 2024 19:31
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.

3 participants