Login page authentication using Active Directory?

Is it possible to use LDAP and authenticate the mobile app using Active Directory credentials ?

If yes, then what steps should I take to implement it? I have gone through LDAP implemention in Java using JNDI, but since I am using node js for server side processing, I am not able to solve this problem.