Possibility to Implement an Invitation Flow using Auth0 Organizations While Disabling Sign-up on a Connection
Last Updated:
Overview
This article clarifies whether it is possible to implement an invitation flow using Auth0 organizations while disabling sign-up on a connection.
Applies To
- Organizations
- Invitation Flow
Solution
This use case is not supported out-of-the-box.
To suggest this functionality in a future release of Auth0, please submit a feature request using the Product Feedback form. More information about this process can be found at How to Submit Product Feedback or Feature Requests.
The following workaround may help in some use cases:
- Disabling the signup for the connection and creating the users with the create a user management API.
- The new user can then be added to the organization using the add users to the organization management API.
- A password reset link can be created with the management API that will work like an invitation.
In the last step, if the application's default login route is configured, once the user sets their new password, they will be redirected to the login entry URL with the organization ID in the query parameters. The application may then start a new login flow for the user with this organization ID.
Alternatively, it is possible to disable auto-enrollment to the organization upon user signup. With this option, even though users can sign up, they will not have access to the organization until they are invited.