We can use Auth0 Actions for this. Users will be created before Auth0 issue token to applications, and you can call the Auth0 API to add users to an organization if specific data exists in the response from your database connection.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Feature Request: Support Assigning Users to Organizations in Custom Database Login Scripts | 1 | 39 | January 14, 2025 | |
Add Roles during Login for automatic migration | 3 | 11 | June 26, 2025 | |
[Update] Lazy Migration with Organisations - Issue Assigning Legacy Users to Organisations | 2 | 66 | January 15, 2025 | |
Add Migrated Users to Organizations | 1 | 2563 | September 21, 2022 | |
Create organization membership for existing users in custom DB | 1 | 499 | April 26, 2024 |