Organisations module is so confusing

Once we start using Organization , how will the connections work ? There is connections in the application as well as at the organization level. Can someone help

Hi @staff2,

Welcome to the Auth0 Community!

You can find out how Auth0 Organizations work by referring to the official documentation.

If you have any further questions, please don’t hesitate to reach out.

Have a good one,
Vlad

Hi,

Thanks for getting back. I did go through the documentation and am not able to get anywhere.

Here’s the case. There are dealers and consumers. Dealers and Consumers will need separate modes Passwordless and GAuth. I have grouped them and some will be common for both orgs. Still this does not seam to work

Hi @staff2,

The key concept is:

  1. The Application’s “Connections” tab is the master list. It defines all connections that this Application is allowed to use.
  2. The Organization’s “Connections” tab is a filter. It specifies which of the connections from that master list are allowed for that specific organization.

An organization can never use a connection that is not first enabled on the Application.

The behavior you’re seeing is most likely one of two things:

  • Scenario A: Your users are seeing all connections (Passwordless and Google) on the login page. This occurs when they initiate the login process without specifying an organization. In this case, Auth0 displays all the connections enabled at the application level.

  • Scenario B: You enabled connections only at the Organization level, but not at the Application level. In this case, those connections won’t show up at all because the Application (the “master list”) hasn’t approved them.

Based on your goal, you want “Dealers” to see only Passwordless and “Consumers” to see only Google. Here is how to configure that correctly.

Let’s use your example of “Dealers” (Passwordless) and “Consumers” (Google Auth).

  1. Step 1: Configure the “Master List” (Application)

    • Go to Dashboard > Applications > Applications and select the application you are using.
    • Click on the Connections tab.
    • You must enable ALL the connections you will ever need here. For your case, you must enable both Passwordless and Google Auth on this screen.
  2. Step 2: Configure your “Dealers” Organization

    • Go to Dashboard > Organizations and select your “Dealers” organization.
    • Click on the Connections tab for that organization.
    • You will see a list of the connections you enabled in Step 1.
    • Enable only the Passwordless connection. Leave Google Auth disabled.
  3. Step 3: Create and Configure your “Consumers” Organization

    • Go back to Dashboard > Organizations and select your “Consumers” organization.
    • Click on the Connections tab for this organization.
    • Enable only the Google Auth connection. Leave Passwordless disabled.

With this setup, when you redirect a user to log in, you must include the organization parameter in the /authorize call. When a Dealer logs in, your Application should redirect them with &organization=ORG_ID_FOR_DEALERS, and they will only see the Passwordless option. When a Consumer logs in, your Application should redirect them with &organization=ORG_ID_FOR_CONSUMERS, and they will only see the Google Auth option.

Have a good one,
Vlad