Hi,
I want to use LDAP authentication in angular 8.
There is existing LDAP server and want to authenticate the user by querying that LDAP server using some client API.
I have tried using "ldapjs" module since its javascript module assuming angular 8 supports it as Angular 8 is in typescript which in turn complied into javascript.
I have found few articles about how to use external javascript libraries in Angular 8 , but none of them worked.
Steps done:
1. Installed ldapjs using npm install
2. Added that in "scripts" part in my angular.json
3. Trying to use ldapjs code in my angular app from below, but always ended up getting "createClient()" is not a function error.
I have tried to restart the front end server as suggested in other forums, but not worked.
Need help very badly, struggling to make this work from few days.
Thanks in advance.