Hi Guys Please help me with this problem. After e...
# ui
r
Hi Guys Please help me with this problem. After enabling LDAP authentication datahub frontend does not ask me to enter any credentials. Instead i am logged in as datahub user. I have set AUTH_JAAS_ENABLED=true and AUTH_OIDC_ENABLED=false https://datahubproject.io/docs/datahub-frontend#authentication
Copy code
WHZ-Authentication {
  com.sun.security.auth.module.LdapLoginModule required
  userProvider="<ldap://host:389/dc=example,dc=com>"
  authIdentity="{USERNAME}"
  userFilter="(&(objectClass=person)(uid={USERNAME}))"
  java.naming.security.authentication="simple"
  debug="true"
  useSSL="false";
};
Reason why i am trying LDAP is because the OIDC setup errors out randomly. OIDC Error: Bad USer info response, error=invalid_token
b
@rich-policeman-92383 Which OIDC provider were you use? We'd strongly recommend using OIDC since it's what most others in the community are using
Let me take a look at the code here. This should not be the case of course
r
OIDC provider is Microsoft Windows Active Directory.
@big-carpet-38439 any suggestions on this.