Remove the Accept Organization Invitation Pop-Up Window in Auth0
Last Updated:
Overview
When users click an Auth0 organization invitation link, a pop-up window prompts them to accept the invitation before displaying the password creation widget. To remove this accept invitation window and route users directly to the password creation widget, the attributes feature on the database connection must be disabled. This behavior occurs because the database connection associated with the application has attributes configured.
Applies To
- Auth0
- Organizations
- Invitations
- Database Connections
Cause
The database connection associated with the application has attributes configured. When a database connection includes configured attributes, Auth0 displays an intermediate pop-up window requiring the user to accept the invitation before proceeding to the password creation widget.
Solution
How is the accept invitation pop-up window removed?
Use the Auth0 Management API to update the database connection and revert the attributes configuration.
- Obtain an Auth0 Management API token.
- Make a
PATCHrequest to the/api/v2/connections/<connection_id>endpoint. - Modify the payload to remove the attributes configuration from the connection options.
NOTE: To avoid partial data or other issues, ensure all current parameters are present by copying the contents within the connection's options object and including it in the PATCH call.