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

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

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

The text is a blatant lie.

1 Like

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

Best,

Mary Beth

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