Active Directory setup questions #1366
-
Although Hajk supports Active Directory integration, there is not much explanations and description for such setup.
My goal is a setup, where the Internet users (so called- visitors) to access Hajk, but to see different layers and tools, internal authenticated AD users to have access to different set of layers/tools, depending their rights, defined in Admin panel and no rights to access Admin Panel, and the Admins to have full access to all system. (the Admin group is also AD group- for example - as is in the .env - GIS_ADMIN) P.S. I have succeed to get the ldap://myADserver:389 to work |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You're absolutely right that the AD integration lacks proper documentation, and i'm not surprised that you're getting stuck! First, it's important to understand how the AD integration of the Node backend is supposed to work:
The reason to why we use an authentication proxy is that Hajk has mostly been deployed on internal networks where the authentication proxy already exists. We're planning (not sure when, but the sooner the better) to expand the AD integration so that Hajk can handle the authentication as well, simplifying the deployment. Me and @jacobwod played with an authentication proxy that authenticates users against Azure AD (or local db) a while a go: https://github.com/hajkmap/authentication-proxy (see the solution more as an example than as a real solution - it is not tested at all ;) ) |
Beta Was this translation helpful? Give feedback.
Glad to hear you've made some steps in the right direction, @bitmapbulgaria.
I agree with all the above. Keep us updated if you manage to find a better solution than this NGINX based AD flow with
X-Control-Header
. Thanks!