Multi-Tenant Applications Best Practices talks about the Lock having a hard limit of 50 connections per client/application and the Universal Login or Enterprise connections having no such limits. I’d like to confirm if there is a limit on Database Connections if we only use the SDK to hit auth0 for authentication and authorization.
Also, the Enterprise price plan includes Unlimited Service Providers. Does it also allow unlimited Database connections? Is there a cost per Database connection under any scenario/circumstance?
If you don’t use Lock and use Auth0.js or one of the authentication APIs where you directly specify the database name, then there’s no theoretical limit. There are some practical limits though, in terms of managing those connections through the dashboard (not sure if you are thinking a number in the dozens or in the millions )
Also, the Enterprise price plan includes Unlimited Service Providers. Does it also allow unlimited Database connections? Is there a cost per Database connection under any scenario/circumstance?
No, there are no separate costs per connection. In any case, when signing up for an enterprise plan you should discuss your plans with the sales representative to make sure your expectations are met.
Thank you for the clarity. We are looking to create a few thousand database connections to facilitate multi-tenancy in our application. Managing them all via the dashboard is something we would probably have to look at.
If you plan on having that many connections, the dashboard UI might not be the best tool for the job, you’ll probably want to rely on the Management API v2.
In any case, you should definitely bring this up during the sales cycle to make sure this is properly supported and also the best architecture for your requirements.