Auth0 Organization Invitation Configuration

Overview

This article provides instructions for creating Auth0 Organization invitations using the Auth0 Dashboard and Management API. It also covers the correct application server configuration for handling invitation acceptance.

Applies To
  • Auth0 Organizations
  • Auth0 Dashboard
  • Auth0 Management API
Solution

Follow these steps to configure and manage Auth0 Organization invitations.

  1. Specify the Application Login Uniform Resource Identifier (URI) in the Application settings. This step is required for the tenant to create an invitation that points to the application server's login endpoint. Use one of the following methods:
    • Auth0 Dashboard:
      1. Go to Applications > Applications.

      2. Select the application.

      3. Go to Settings > Application Login URI.

    • Management API: See Update a Client.

  2. Create the Organization invitations. Use one of the following methods:

    • Auth0 Dashboard:

      1. Go to Organizations > Organizations.

      2. Select the organization.

      3. Go to Invitations > Invite Members.

    • Management API: See Create Organization Invitations.

  3. Configure the application server to handle invitation acceptance. The server must implement the following behavior:

    • Configure the application server to handle invitation acceptance. When a user selects the Accept Invitation button, the application server receives a request at its login endpoint. This request URL includes three query parameters (invitation, organization_id, organization_name) in the following format:

      https://<application-domain>/login?invitation={invitation_ticket_id}&organization={organization_id}&organization_name={organization_name}

      The server must have behavior implemented to accept these query parameters and transfer them in the request to the Auth0 Authentication API "/authorize" endpoint. This transfer ensures that Auth0 recognizes the login request as being for a user who is accepting an Organization invitation. For more details, see Authorize Application.

Recommended content

No recommended content found...