Authorize M2M Access

To authorize Machine-to-Machine access for an application, you must enable it to use an organization for a specific API. To do so, you must associate the application's client grant to the corresponding API with the organization. Once associated, the application can use the organization when requesting tokens for the API and scopes defined in the client grant. You will need to define this association for each API your application needs to access for the organization.

You can authorize M2M access for an application using the Auth0 Dashboard or Management API.

To associate an application’s client grant to an organization via the Auth0 Dashboard:

  1. Navigate to Organizations and choose the organization you want to associate with.

  2. Select the Machine-to-Machine Access tab.

  3. Click Add Access.

  4. Click the application you want to associate with the organization.

  5. Select an API. 

  6. Click Save.