Hi Tiago,
Nice to meet you as well 🙂
Regarding your 1st question, we have an option to allow self sign-up to a tenant (company) for specific email domains. So if a user sign-up with that email, he will automatically assigned to that tenant and you’ll receive that information in the JWT. Is that something that suites your use case?
Additional info about that can be found also in our
tutorial page
Also, if you would like to have a short zoom session to discuss that in depth i’ll be happy to schedule one 👍