# LDAP met OpenID Connect SSO met Keycloak

**URL:** <https://meta.discourse.org/t/ldap-with-openid-connect-sso-with-keycloak/183838>\
**Category:** Product Support\
**Created:** [20 maart 2021 om 03:26 UTC](https://meta.discourse.org/t/ldap-with-openid-connect-sso-with-keycloak/183838 "2021-03-20T03:26:37Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![SantoshKM](https://avatars.discourse-cdn.com/v4/letter/s/8e7dd6/32.png) [@SantoshKM](https://meta.discourse.org/u/SantoshKM)\
**Post date:** [20 maart 2021 om 03:26 UTC](https://meta.discourse.org/t/ldap-with-openid-connect-sso-with-keycloak/183838/1 "2021-03-20T03:26:37Z")

</div>

Dear All,  
I am bit new on this.  
in my currant setup, we are not using local login and have installed LDAP plug in to get authentication from Active directory and there are 50 users using.  
Now due to compliance reason we have to use SSO with Keycloak.  
Have setup Openid Connect with Keycloak and new user can login but existing users are getting message **" Primary email has already been taken"**

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/d/3d61cd636568d12b6ed6d6b738bdde4ca3596649.png)  
can any one please help me how to get this off- i want to keep LDAP plug in along with SSO ( Openid Connect) with Keycloak both active with same email address.

what wrong i am doing ???

---

_[View the full topic](https://meta.discourse.org/t/ldap-with-openid-connect-sso-with-keycloak/183838)._
