Preflight Checklist
Version
2.41.1
Storage Type
Kubernetes
Installation Type
Official Helm chart
Expected Behavior
This recursive function to fetch google groups makes requests for users with more than 100 groups take longer than standard timeout bounds ( > 30s)
For instance here
argoproj/argo-cd#21420 (comment)
Expected is to be able to not take this long in returning with the groups by either providing a parameter for depth to which groups should be fetched or not to give sub groups in the default response.
Actual Behavior
The recursive fetching takes longer and causes timeouts.
Steps To Reproduce
To Reproduce
-
Ensure user has membership in more than 100 Google Workspace groups. Based on observations, users with fewer than 90 groups successfully complete the authentication flow, while those with more than 110 groups fail.
-
Ensure Dex is enabled with the Google connector and configured to fetch transitive group memberships as instructed in the Argo CD documentation.
-
Attempt to log in to the Argo CD dashboard using Google as the authentication provider.
Though this the core way to reproduce but as pointed out the recursive code would exhibit this behavior for any client be it Argo or not.
Additional Information
No response
Configuration
Logs
Preflight Checklist
Version
2.41.1
Storage Type
Kubernetes
Installation Type
Official Helm chart
Expected Behavior
This recursive function to fetch google groups makes requests for users with more than 100 groups take longer than standard timeout bounds ( > 30s)
For instance here
argoproj/argo-cd#21420 (comment)
Expected is to be able to not take this long in returning with the groups by either providing a parameter for depth to which groups should be fetched or not to give sub groups in the default response.
Actual Behavior
The recursive fetching takes longer and causes timeouts.
Steps To Reproduce
To Reproduce
Ensure user has membership in more than 100 Google Workspace groups. Based on observations, users with fewer than 90 groups successfully complete the authentication flow, while those with more than 110 groups fail.
Ensure Dex is enabled with the Google connector and configured to fetch transitive group memberships as instructed in the Argo CD documentation.
Attempt to log in to the Argo CD dashboard using Google as the authentication provider.
Though this the core way to reproduce but as pointed out the recursive code would exhibit this behavior for any client be it Argo or not.
Additional Information
No response
Configuration
Logs