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

Okta SAML (with Dex) Integration #21849

Open
3 tasks done
OneideLuizSchneider opened this issue Feb 11, 2025 · 2 comments
Open
3 tasks done

Okta SAML (with Dex) Integration #21849

OneideLuizSchneider opened this issue Feb 11, 2025 · 2 comments
Labels
bug Something isn't working component:dex component:docs component:sso Issues related to Argo CD configurations

Comments

@OneideLuizSchneider
Copy link

OneideLuizSchneider commented Feb 11, 2025

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

Howdy!
I just got an issue with Okta SAML (with Dex) Integraion.
So basically what you need to do to make this work, is add the field group on the Attribute Statements (optional) instead of Group Attribute Statements (optional).
So I tested it with the values user.email(which would be horrible to handle in the Argo RBAC config map), I tested it with the values argocd-admins, role:admin, role:readonly... all works.

It seems that ArgoCD is not getting/using the fields from Group Attribute Statements (optional).

Following this -> SAML (with Dex)

Example(this one works):
Image

The error I get when adding the field in Group Attribute Statements (optional):

"level":"ERROR","msg":"failed to authenticate","err":"no attribute with name \"group\": [email]"

Version: v2.14.2+ad27246

I saw this issue #21235 but seems that its not only doc. related.

@OneideLuizSchneider OneideLuizSchneider added the bug Something isn't working label Feb 11, 2025
@OneideLuizSchneider OneideLuizSchneider changed the title Okta SAML (with Dex) Integration Documentation Okta SAML (with Dex) Integration Feb 11, 2025
@reggie-k
Copy link
Member

Dex with SAML is unmaintained:
https://dexidp.io/docs/connectors/saml/
Looks like an update to Argo CD docs is needed.

@reggie-k reggie-k added component:sso Issues related to Argo CD configurations component:docs bug Something isn't working component:dex and removed bug Something isn't working labels Feb 12, 2025
@OneideLuizSchneider
Copy link
Author

OneideLuizSchneider commented Feb 12, 2025

@reggie-k Well, I couldn't make it work with OIDC (without Dex), the docs seem outdated as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:dex component:docs component:sso Issues related to Argo CD configurations
Projects
None yet
Development

No branches or pull requests

2 participants