# Login with multiple connections break when using organization invite email

**URL:** <https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organization-invite-email/151205>\
**Category:** Get Help\
**Tags:** regular-database-connections, connections\
**Created:** [November 8, 2024, 3:40pm UTC](https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organization-invite-email/151205 "2024-11-08T15:40:04Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![vpv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vpv/32/60368_2.png) [@vpv](https://community.auth0.com/u/vpv)\
**Post date:** [November 8, 2024, 3:40pm UTC](https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organization-invite-email/151205/1 "2024-11-08T15:40:04Z")

</div>

My question is very similar to this [one](https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organisation-invite-email/71393)

I have an application with 2 DB connections.  
I have 2 organizations which use one of the connection.

When I send an invitation I get " You’ve Been Invited! Log in to accept invitation" instead of “to signup”.

If I explicitly specify connection to the correct database, nothing changes.  
If I explicitly specify connection to the wrong database, I get the error:

> An error occurred during logging in.  
> Invalid invitation ticket (connection mismatch)

TenantId: dev-a8deq3b4t1o5ncg0

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [November 12, 2024, 5:32pm UTC](https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organization-invite-email/151205/3 "2024-11-12T17:32:29Z")

</div>

Hi @vpv,

What is your desired outcome? I am a bit confused as to what the issue is, as sending the wrong connection information resulting in an error seems expected to me. As much information as possible will be much appreciated and very helpful!

Thanks,

Mary Beth

---

<div class="post-metadata">

**Author:** ![vpv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vpv/32/60368_2.png) [@vpv](https://community.auth0.com/u/vpv)\
**Post date:** [November 12, 2024, 7:30pm UTC](https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organization-invite-email/151205/4 "2024-11-12T19:30:49Z")

</div>

I expect that user will be offered to signup by setting the password, not to login. How can user login, if there’s no account in the connection?

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [November 13, 2024, 11:26pm UTC](https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organization-invite-email/151205/5 "2024-11-13T23:26:34Z")

</div>

Hi @vpv,

I understand - thanks for clarifying!

I took a look at the organizations in your tenant and saw that “Enable Signup” is disabled for all of them. This Community article describes sign up in the context of organizations: [Sign Up for Organizations](https://community.auth0.com/t/sign-up-for-organizations/134313). Could you kindly give that a review?

Thanks,

Mary Beth

---

<div class="post-metadata">

**Author:** ![vpv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vpv/32/60368_2.png) [@vpv](https://community.auth0.com/u/vpv)\
**Post date:** [November 14, 2024, 10:05am UTC](https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organization-invite-email/151205/6 "2024-11-14T10:05:26Z")

</div>

Yes, this is intentional. Users should not be able to sign up without an invitation.  
Invitations work fine for the first connection. I have issues only with TestDB connection.

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [November 15, 2024, 9:42pm UTC](https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organization-invite-email/151205/7 "2024-11-15T21:42:21Z")

</div>

Hi @vpv,

Can you try enabling “Membership on Authentication” in the organizations? Per our [documentation](https://auth0.com/docs/manage-users/organizations/configure-organizations/enable-connections#organization-properties), to use Organization Signup, you must also enable Membership On Authentication.

Let me know how that goes!

Thanks,

Mary Beth

---

<div class="post-metadata">

**Author:** ![vpv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vpv/32/60368_2.png) [@vpv](https://community.auth0.com/u/vpv)\
**Post date:** [November 18, 2024, 9:04am UTC](https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organization-invite-email/151205/8 "2024-11-18T09:04:27Z")

</div>

Still does not work.  
The fun fact is that it works even with disabled auto-membership with connection Username-Password-Authentication con\_s5pPb4IzADj5x5KY

---

<div class="post-metadata">

**Author:** ![vpv](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vpv/32/60368_2.png) [@vpv](https://community.auth0.com/u/vpv)\
**Post date:** [November 18, 2024, 9:25am UTC](https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organization-invite-email/151205/9 "2024-11-18T09:25:55Z")

</div>

Ok, I found the reason. When I switched it of, I was offered to Sign-up for the org.

 ![image](https://global.discourse-cdn.com/auth0/original/3X/4/7/47fa47ad0666cf5170d9a6509f12ea7057ee3b55.png)

The text is a blatant lie.

---

<div class="post-metadata">

**Author:** ![marybeth.hunter](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/marybeth.hunter/32/61955_2.png) [@marybeth.hunter](https://community.auth0.com/u/marybeth.hunter)\
**Post date:** [November 22, 2024, 4:12pm UTC](https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organization-invite-email/151205/10 "2024-11-22T16:12:01Z")

</div>

Hi @vpv,

I understand you’ve found the solution here. I would definitely recommend submitting feedback about this following this guide: [How to Submit Product Feedback or Feature Requests](https://community.auth0.com/t/how-to-submit-product-feedback-or-feature-requests/22150)

Best,

Mary Beth

---

<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:** [December 6, 2024, 4:12pm UTC](https://community.auth0.com/t/login-with-multiple-connections-break-when-using-organization-invite-email/151205/11 "2024-12-06T16:12:48Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
