Hey Moritz,
It depends a bit on the specifics of your use case.
If you use one Ory Network project for all tenants, all identities are saved in the same Ory project and you can add all OIDC providers to that project.
If you spin up a project for each tenant (IMO makes sense if the tenants are big enough, say +2k daily users), and then add the OIDC providers for just that tenant.
To implement an automatic flow - I attached a rough diagram - you can use a custom UI with a look up or similar that checks what provider to use for a given email.
This requires some coding on your part at the moment, but we have it on the roadmap to provide out-of-the-box soon.
The best way to solve this right now would best be to use a
webhook after registration, and store in an extra table in your system what method the user used. Then, in the custom ui, you can look up the method associated with the email and redirect to the correct provider/UI.
Let me know if that makes it clearer 🙂