# How to Integrate Ionic with Active Directory or LDAP?

**URL:** <https://forum.ionicframework.com/t/how-to-integrate-ionic-with-active-directory-or-ldap/69647>\
**Category:** ionic-v3\
**Created:** [November 9, 2016, 10:08am UTC](https://forum.ionicframework.com/t/how-to-integrate-ionic-with-active-directory-or-ldap/69647 "2016-11-09T10:08:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaibsVB](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/vaibsvb/32/102515_2.png) [@vaibsVB](https://forum.ionicframework.com/u/vaibsVB)\
**Post date:** [November 9, 2016, 10:08am UTC](https://forum.ionicframework.com/t/how-to-integrate-ionic-with-active-directory-or-ldap/69647/1 "2016-11-09T10:08:07Z")

</div>

Greetings,

I need help to integrate `Ionic-2` app with `Active Directory / LDAP`. I have a requirement in which I have to `Authenticate` user through `Active Directory / LDAP`. Is there anyone who done with this?

I’m new to `Active Directory / LDAP` and its integration with `Ionic-2 app`.  
I followed `Auth0` articles `Authenticate Ionic 2 with Active Directory` [https://auth0.com/authenticate/ionic2/active-directory](https://auth0.com/authenticate/ionic2/active-directory) and `Authenticate Ionic 2 with LDAP` [https://auth0.com/authenticate/ionic2/ldap](https://auth0.com/authenticate/ionic2/ldap).

But I’m not able achieve it. Is there need to write `Node.js/php` script to connect to `Active Directory / LDAP`.

Any help will be appreciated.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![abhisheklamrood](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/abhisheklamrood/32/111564_2.png) [@abhisheklamrood](https://forum.ionicframework.com/u/abhisheklamrood)\
**Post date:** [May 5, 2017, 9:21am UTC](https://forum.ionicframework.com/t/how-to-integrate-ionic-with-active-directory-or-ldap/69647/2 "2017-05-05T09:21:22Z")

</div>

Hello vaibsVB , I have a similar requirement where user needs to login in office 365 account within ionic 2 app , and on login success user should be redirected back to app again . Basically I want to authenticate user login using office 365 in ionic 2 app. So just wanted to know , did u get any solution for this???

---

<div class="post-metadata">

**Author:** ![satishankala](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@satishankala](https://forum.ionicframework.com/u/satishankala)\
**Post date:** [July 26, 2017, 6:49am UTC](https://forum.ionicframework.com/t/how-to-integrate-ionic-with-active-directory-or-ldap/69647/3 "2017-07-26T06:49:21Z")

</div>

Hi All, I am also looking for the same. can anyone please provide the github code with ldap authentication

---

<div class="post-metadata">

**Author:** ![ashygoyal](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ashygoyal/32/118909_2.png) [@ashygoyal](https://forum.ionicframework.com/u/ashygoyal)\
**Post date:** [May 30, 2018, 9:17am UTC](https://forum.ionicframework.com/t/how-to-integrate-ionic-with-active-directory-or-ldap/69647/4 "2018-05-30T09:17:35Z")

</div>

Any leads yet on this @vaibsVB?

---

<div class="post-metadata">

**Author:** ![jmontenegro2018](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jmontenegro2018/32/129766_2.png) [@jmontenegro2018](https://forum.ionicframework.com/u/jmontenegro2018)\
**Post date:** [December 15, 2019, 6:42am UTC](https://forum.ionicframework.com/t/how-to-integrate-ionic-with-active-directory-or-ldap/69647/5 "2019-12-15T06:42:20Z")

</div>

I’ve been looking to do this too as part of a centralized ldap login and app roles management accessable through an Ionic PWA, hopefully roles would be taken care by firebase, so if anyone has achieved ad/ldap integration for Ionic 4 I would be grateful
