-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Org definition using incorrect case can silently fail to pull github groups. #2499
Comments
Seems more like a bug to me. Org name comparison should be case-insensitive. Not sure about teams. |
I am running into this issue too. Its worth noting that the team names ARE case-sensitive. |
Dex exports:
However, even if the field is case-sensitive, it is still case-insensitive on the backend side. I think to close this issue, two actions are required:
How to implement the first one is straightforward. For the second one, before working on it, I would like to wait for the #2020 first. |
|
I encountered this issue too: With dex.config:
I'm successfully logging in but with field |
I also encountered this issue.......
It just responses success message with empty groups..... I hope this problem should be solved soon. |
same error |
Preflight Checklist
Version
v2.30.0-dirty
Storage Type
Kubernetes
Installation Type
Custom Helm chart
Expected Behavior
A warning would be logged if the defined org within the github connector does not match the case used in the login name (as returned by the github api).
Actual Behavior
Defining
A1Example
in the config when the org name isa1example
will allow successful authentication but with an empty group list, and subsequently fail to apply any group specific access policies.Steps To Reproduce
No response
Additional Information
This was discovered using dex bundled within the following helm chart:
https://artifacthub.io/packages/helm/argo/argo-cd/3.29.5#dex
Configuration
Logs
The text was updated successfully, but these errors were encountered: