Multi tenant solution

Hi @konrad.sopala,
Yes, I read the docs. They specify that I should maintain my tenants via app_metadata for example.
This is ok as long as I don’t use SSO but a single DB connection for all my tenants.

What I’m trying to figure out is how to do that but still, allow different SSO methods/providers per tenant.
Since app_metadata is available after the login, I need a way to assign a user/application to a tenant before the login procedure so I can redirect the user to tenant SSO provider.

Is that possible or do you have a different way to achieve that?

Also, in the API docs there is a tenant entity, but in the UI the is no way to create one.

Thanks,
Miki.