I;m busy upgrading to auth0.js v9.
I noticed there isn’t a method “getConnections”.
We previously used the values returned from this in order to establish (from email address) whether the company had enterprise sso enabled.
Today, you can use the Get all connections endpoint from Management API v2, reduce the response to an array of connections where the enabled_clients array contains your client_id.
So you will need to create your own API endpoint that effectively does a client_credentials call to acquire and access token, perform an API call that reduces the response to an array as described above, and return the results.