-
Notifications
You must be signed in to change notification settings - Fork 329
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
Authorize by GitHub org and or team membership #205
Merged
Merged
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
5507bd6
Check GitHub user team memberships and store them in User struct
eikehartmann 7b0f0a3
Evaluate team memberships when verifying user
eikehartmann 0b99ff8
Remover Org from config and use <orgId>/<teamSlug> as format for gith…
eikehartmann fd72962
Add test assertions on urls called
eikehartmann 4ad1f13
Add org membership url to config and github defaults
eikehartmann 4a9d20a
Add method to check for github org membership
eikehartmann 6ad9c84
Check for GitHub Org membership if no team qualified in TeamWhiteList…
eikehartmann 227cd5b
Add documentation for teamWhitelist to github example config
eikehartmann fd1019a
Move Github-related handler stuff to own package
eikehartmann cfb5be2
Move IndieAuth-related handler stuff to own package
eikehartmann 82f7c18
Move ADFS-related handler stuff to own package
eikehartmann eacccd5
Move HomeAssistant-related handler stuff to own package
eikehartmann d367704
Move OpenStax-related handler stuff to own package
eikehartmann 2b6659d
Move Google-related handler stuff to own package
eikehartmann fb73f16
Move OpenID-related handler stuff to own package
eikehartmann 02dd4da
Refactor to common parameters for different vendor methods
eikehartmann 1244cbd
Use strategy pattern-like switch to select vendor-specific handler
eikehartmann 6e05f94
Add org/team configuration relevant urls to github enterprise sample …
eikehartmann 785ec9f
Add read:org scope if team whitelist is configured for github
eikehartmann e26ea0c
Improve logging and error handling in github org/team membership retr…
eikehartmann 35dbe19
remove port before testing host
bnfinet File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍