Okta multiple organizations with auth0

I created a custom ui login using auth0-js. I’m using the lock code as an example for home realm discovery.

The issue I see with saml is that it requires a cert. I’m not sure if I can use the /api/v2/connections endpoint to create a saml connection. Ideally I would want to automate the setup process so that the okta admin would upload their cert and info to our service and have it instantly work.