In our existing system we have users grouped by client/company. I’m aware that Auth0 has a user group concept, but I gather it’s a different kind of thing, more like a rights/roles assignment entity, e.g. “regular users”, “admins” etc.
In our case, there will be almost as many companies as users (most companies have a single user, some have a few and very few have many users).
Our intention is to move our user database to Auth0 and we will start this process by a connection to our old database and activating auto migration. Got the login script working already.
But how would we best handle the “comany” concept within Auth0?
The connection is able to return a unique id for the company, along with any other attributes that may be useful, e.g. invoice address etc.