# Openondemand not detecting ondemand-dex enabled

**URL:** <https://discourse.openondemand.org/t/openondemand-not-detecting-ondemand-dex-enabled/3258>\
**Category:** Get Help\
**Created:** [February 9, 2024, 8:29pm UTC](https://discourse.openondemand.org/t/openondemand-not-detecting-ondemand-dex-enabled/3258 "2024-02-09T20:29:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![UCBKurt](https://avatars.discourse-cdn.com/v4/letter/u/a8b319/32.png) [@UCBKurt](https://discourse.openondemand.org/u/UCBKurt)\
**Post date:** [February 9, 2024, 8:29pm UTC](https://discourse.openondemand.org/t/openondemand-not-detecting-ondemand-dex-enabled/3258/1 "2024-02-09T20:29:58Z")

</div>

Hi Everyone,

I’m trying to install Open Ondemand on our Ubuntu Slurm head node. However, I can’t get past the authentication portion. I’ve added and enabled dex ldap in the ood\_config, but the web ui just seems to ignore it.

Any help is appreaciated.

Regards,  
Kurt

---

<div class="post-metadata">

**Author:** ![hrandquist](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/hrandquist/32/2536_2.png) [@hrandquist](https://discourse.openondemand.org/u/hrandquist)\
**Post date:** [February 12, 2024, 6:11pm UTC](https://discourse.openondemand.org/t/openondemand-not-detecting-ondemand-dex-enabled/3258/2 "2024-02-12T18:11:45Z")

</div>

Hi, and welcome! Could you share the dex portion of your ood\_config.yml file?

---

<div class="post-metadata">

**Author:** ![UCBKurt](https://avatars.discourse-cdn.com/v4/letter/u/a8b319/32.png) [@UCBKurt](https://discourse.openondemand.org/u/UCBKurt)\
**Post date:** [February 12, 2024, 7:12pm UTC](https://discourse.openondemand.org/t/openondemand-not-detecting-ondemand-dex-enabled/3258/3 "2024-02-12T19:12:24Z")

</div>

Hi @hrandquist,

Here is the dex portion:

```auto
# Dex configurations, values inside the "dex" structure are directly used to configure Dex
# If the value for "dex" key is false or null, Dex support is disabled
# Dex support will auto-enable if ondemand-dex package is installed
dex:
  # Default based on if ssl key for ood-portal-generator is defined
  ssl: false
  # Only used if SSL is disabled
  http_port: "5556"
  # Only used if SSL is enabled
# https_port: "5554"
  # tls_cert and tls_key take OnDemand configured values for ssl and copy keys to /etc/ood/dex maintaining file names
# tls_cert: null
# tls_key: null
# storage_file: /etc/ood/dex/dex.db
# grpc: null
# expiry: null
  # Client ID, defaults to servername or FQDN
# client_id: null
# client_name: OnDemand
  # Client secret, value auto generated
  # A value that is a filesystem path can be used to store secret in a file
# client_secret: /etc/ood/dex/ondemand.secret
   # The OnDemand redirectURI is auto-generated, this option allows adding additional URIs
# client_redirect_uris: []
  # Additional Dex OIDC clients to configure
# static_clients: []
  # The following example is to configure OpenLDAP
  # Docs: https://github.com/dexidp/dex/blob/master/Documentation/connectors/ldap.md
  connectors:
    - type: ldap
      id: ldap
      name: LDAP
      config:
        host: ldaps-url:639
        insecureSkipVerify: false
        bindDN: *****
        bindPW: *****
        userSearch:
          baseDN: ou=People,dc=internal,dc=Lab
          filter: "(objectClass=posixAccount)"
          username: uid
          idAttr: uid
          emailAttr: mail
		   nameAttr: gecos
          preferredUsernameAttr: uid
        groupSearch:
          baseDN: ou=Group,dc=internal,dc=Lab
          filter: "*"
          userMatchers:
            - userAttr: DN
              groupAttr: member
          nameAttr: cn
# frontend:
# theme: ondemand
# dir: /usr/share/ondemand-dex/web

```

---

<div class="post-metadata">

**Author:** ![UCBKurt](https://avatars.discourse-cdn.com/v4/letter/u/a8b319/32.png) [@UCBKurt](https://discourse.openondemand.org/u/UCBKurt)\
**Post date:** [February 13, 2024, 12:02am UTC](https://discourse.openondemand.org/t/openondemand-not-detecting-ondemand-dex-enabled/3258/4 "2024-02-13T00:02:45Z")

</div>

Figured out the issue. I thought I had disabled SSL for testing, but apparently I did not. Throwing in an ssl cert made it work.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [August 11, 2024, 12:03am UTC](https://discourse.openondemand.org/t/openondemand-not-detecting-ondemand-dex-enabled/3258/5 "2024-08-11T00:03:00Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
