# "Bad Request Unregistered redirect\_uri" from Dex with LDAP

**URL:** <https://discourse.openondemand.org/t/bad-request-unregistered-redirect-uri-from-dex-with-ldap/4003>\
**Category:** Get Help\
**Tags:** question\
**Created:** [January 30, 2025, 3:44pm UTC](https://discourse.openondemand.org/t/bad-request-unregistered-redirect-uri-from-dex-with-ldap/4003 "2025-01-30T15:44:17Z")\
**Posts on this page:** 1\
**Showing post:** 28

<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:** [February 4, 2025, 6:48pm UTC](https://discourse.openondemand.org/t/bad-request-unregistered-redirect-uri-from-dex-with-ldap/4003/28 "2025-02-04T18:48:44Z")

</div>

OK - even so, I believe the issue is with local users. I wonder exactly how to replicate, but it seems like to go the full path you’d:

- install `httpd` (or just add the `apache` user)
- Add a sudo rule for that user
- Try to use that sudo rule as that local user.

---

_[View the full topic](https://discourse.openondemand.org/t/bad-request-unregistered-redirect-uri-from-dex-with-ldap/4003)._
