Do the members from different organizations want to be able to talk to each other? (If not, then just get 3 Discourse instances).
Do the members from each organization have email addresses like pat@org1.org, joe@org2.org? Then you can use those email addresses to assign them to groups.
Can you get the 3 organizations to run a script that will add/delete members via API when they do their membership maintenance?
I don’t quite understand what auth0 is, but there’s a plugin for it and I’ve configured it for a client recently. They apparently “solve the most complex identity use cases with an extensible and easy to integrate platform that secures billions of logins every month.”