Adding Organization ID To Auth0 Pre-Registration Action Context

Overview

Currently, there is no out-of-the-box method to add the organization ID to the pre-registration action context in Auth0. To validate and verify an organization before allowing a new user to complete sign-up, store the email addresses of pending invitations on a backend server, and remove them once the user consumes the invitation.

Applies To

  • Actions
  • Pre-User Registration
  • Organizations

Solution

Does Auth0 support adding the organization ID to the pre-registration action context?

Currently, there is no out-of-the-box way to control or verify the organization ID directly from the sign-up URL during the pre-registration action. A feature request exists for this functionality.

 

What is the workaround for validating an organization during sign-up?

To validate and verify an organization before allowing a new user to complete sign-up, implement the following workaround:

  1. Store the email addresses of pending invitations on a backend server.
  2. Remove the email addresses from the backend once the user consumes the invitation.

Recommended content

No recommended content found...