Login with multiple connections break when using organization invite email

My question is very similar to this one

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

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

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?

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. Could you kindly give that a review?

Thanks,

Mary Beth

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.

Hi @vpv,

Can you try enabling “Membership on Authentication” in the organizations? Per our documentation, to use Organization Signup, you must also enable Membership On Authentication.

Let me know how that goes!

Thanks,

Mary Beth