Auth0 Home Blog Docs

How is a database chosen when defaultDatabaseConnection is NOT set

In the Lock v11 widget, there’s an option defaultDatabaseConnection (

We’ve been omitting this and it seems to magically get set to a specific DB in the POST /co/authenticate request. If I specify a value for defaultDatabaseConnection, it honors the value I set it to. My question: when I omit this value, how does it decide which database to use?

Hi @scott.frazer. This post may help:


Yes, that answers my question. Thanks!


Glad you have it figured out now!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.