# Request for Guidance on Open OnDemand Setup with LDAP and Custom HPC Configuration

**URL:** <https://discourse.openondemand.org/t/request-for-guidance-on-open-ondemand-setup-with-ldap-and-custom-hpc-configuration/4347>\
**Category:** Get Help\
**Tags:** ondemand2, question\
**Created:** [July 9, 2025, 11:19am UTC](https://discourse.openondemand.org/t/request-for-guidance-on-open-ondemand-setup-with-ldap-and-custom-hpc-configuration/4347 "2025-07-09T11:19:37Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [July 10, 2025, 3:57pm UTC](https://discourse.openondemand.org/t/request-for-guidance-on-open-ondemand-setup-with-ldap-and-custom-hpc-configuration/4347/8 "2025-07-10T15:57:00Z")

</div>

This topic may provide some insight into that issue

> [@"Bad Request Unregistered redirect\_uri" from Dex with LDAP](https://discourse.openondemand.org/t/bad-request-unregistered-redirect-uri-from-dex-with-ldap/4003):
>
> I have installed Open OnDemand 4.0.0 and am trying to configure authentication with Dex and LDAP. I modified ood\_portal.yml based on the example at [https://osc.github.io/ood-documentation/latest/authentication/dex.html#configuring-ondemand-dex-for-ldap](https://osc.github.io/ood-documentation/latest/authentication/dex.html#configuring-ondemand-dex-for-ldap) ran update\_ood\_portal, and restarted ondemand-dex.service and httpd. Connecting to http://simple\_hostname/ generates a page saying Bad Request Unregistered redirect\_uri (“http://simple\_hostname/oidc”). In the apache access\_log I found a messa…

---

_[View the full topic](https://discourse.openondemand.org/t/request-for-guidance-on-open-ondemand-setup-with-ldap-and-custom-hpc-configuration/4347)._
