Overview
The below error occurs when the user is a member of the organization, but the connection to which the user belongs is not enabled for the organization:
client requires organization membership, but user does not belong to any organization
Applies To
- Organizations
- Organization’s Member
- Error
Cause
For a user to be assigned to an Organization, the respective connection has to be enabled for the Organization.
Solution
After a user provides an email address, Auth0 matches it with Connections enabled for this application and Organizations. So, along with the application, make sure to enable the respective connection for the Organization.