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

Filtering by Organization when using Github as an Oauth2 authentication provider #33608

Open
stevenwhayes opened this issue Feb 16, 2025 · 0 comments
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.

Comments

@stevenwhayes
Copy link

Feature Description

I am not sure if this is a feature request or bug report. I tried setting Required Claim Name and Required Claim Value to filter based on organization membership but nothing I tried worked. I am not sure if it is even supposed to work because there is no documentation around using these built in OAuth2 providers. Removing the Claim configuration allowed the OAuth2 login/registration to work but this is not a viable configuration for me. I also confirmed my Github OAuth2 application could provide a bearer token that had permission to return the proper membership via curl interaction with the Github API.

Should restricting login to users who have membership in specific Github organizations work out of the box? If not, can the feature be added? This seems like a fairly common use case. If it cannot be implemented can the docs around these OAuth2 providers be updated? I know this is a volunteer effort I would be willing to update the docs but I do not know what should work.

Screenshots

No response

@stevenwhayes stevenwhayes added the type/proposal The new feature has not been accepted yet but needs to be discussed first. label Feb 16, 2025
@stevenwhayes stevenwhayes changed the title Filtering by Organization when using Github as an Oauth2 provider Filtering by Organization when using Github as an Oauth2 authentication provider Feb 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/proposal The new feature has not been accepted yet but needs to be discussed first.
Projects
None yet
Development

No branches or pull requests

1 participant