# Multi Tenancy: Account Linking =\> Social Login/LDAP

**URL:** <https://community.auth0.com/t/multi-tenancy-account-linking-social-login-ldap/6919>\
**Category:** Get Help\
**Tags:** multi-tenant, social-connections\
**Created:** [June 6, 2017, 3:35am UTC](https://community.auth0.com/t/multi-tenancy-account-linking-social-login-ldap/6919 "2017-06-06T03:35:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oleg.shalygin](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@oleg.shalygin](https://community.auth0.com/u/oleg.shalygin)\
**Post date:** [June 6, 2017, 3:35am UTC](https://community.auth0.com/t/multi-tenancy-account-linking-social-login-ldap/6919/1 "2017-06-06T03:35:56Z")

</div>

In a Multi Tenant Application, how does social logic with multiple tenants work? Is there just a sole account that uses the same social connection(oauth-google-2)?

How does account linking across multiple LDAP agents work? Is it just another connection attached to the account?

---

<div class="post-metadata">

**Author:** ![prashantT](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/prashantt/32/6002_2.png) [@prashantT](https://community.auth0.com/u/prashantT)\
**Post date:** [June 6, 2017, 7:23am UTC](https://community.auth0.com/t/multi-tenancy-account-linking-social-login-ldap/6919/2 "2017-06-06T07:23:27Z")

</div>

Handling users in multi tenant applications is outlined in our [Using Auth0 with Multi-tenant applications](https://auth0.com/docs/tutorials/using-auth0-with-multi-tenant-apps) tutorial. In short, there would be a single account for a social user (e.g. Google), with roles and permissions stored in the user profile, e.g. in `app_metadata`.

Multiple LDAP connections can be configured, with account linking done between users in the different connections.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 2, 2018, 5:54am UTC](https://community.auth0.com/t/multi-tenancy-account-linking-social-login-ldap/6919/3 "2018-03-02T05:54:24Z")

</div>


