Thanks @GonzaP for explaining more about what you are building.
I would suggest having the following setup in Kinde:
Assuming you have 3 apps (Drivers, Clients and Delivery Enterprises)
- Have 3 different Kinde organizations - 1 for each app
- When a user signs-up to an application, direct them to the related organization-specific screen
--> e.g. if a user signs-up or signs-in for the Driver app, direct them to the Driver organization-specific screen
For signing-up and signing-in users to an organization-specific organization I would suggest having a read of the following 2 sections:
- Signing up new users into an existing organization
- Signing users into an existing organization
This would allow you to have 3 different user pools for the different apps and apply logic depending on the user pool the user is in.
E.g. you will know a user is a Driver if they are in the Driver organization and you can have logic to make each Driver a Driver role (if thats what you are after) using the Kinde Management API.
I can help you further if you are able to explain what you would do if you were to have all your users with a role that is related to the application they are using.