You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My team is using Argo CD with Dex to delegate user authentication to Google as the IDP.
Before enabling Dex, everything was working fine. However, after enabling Dex, we encountered a 403 Forbidden error when attempting to edit application details, such as labels or sync policies, through the Argo CD dashboard. These actions are also disallowed even when I log in as an admin user.
Despite this issue, I am still able to perform other actions, such as deleting Pods, via the dashboard. Additionally, editing application details works without any issues when using kubectl.
I just noticed that this issue does not occur in other environment where Dex is enabled. I will investigate further, as there might be another underlying issue that could provide valuable insights for others in the future.
I investigated further and found that the issue was caused by a WAF policy at the load balancer, which disallowed large payload sizes for PUT and POST methods. It appears that ArgoCD traffic tends to have large payloads due to application spec and OIDC group claims consuming significant space. After creating a dedicated WAF policy for ArgoCD, the issue was resolved, and all administrative actions are now functioning as expected.
Checklist:
argocd version
.Describe the bug
My team is using Argo CD with Dex to delegate user authentication to Google as the IDP.
Before enabling Dex, everything was working fine. However, after enabling Dex, we encountered a
403 Forbidden
error when attempting to edit application details, such as labels or sync policies, through the Argo CD dashboard. These actions are also disallowed even when I log in as an admin user.Despite this issue, I am still able to perform other actions, such as deleting Pods, via the dashboard. Additionally, editing application details works without any issues when using kubectl.
The applied RBAC policy is as follows:
Got similar results with the following policy:
To Reproduce
Expected behavior
Editing application details through the Argo CD dashboard should work without encountering a
403 Forbidden
error.Screenshots
Version
Logs
No relevant information found in logs.
The text was updated successfully, but these errors were encountered: