allowedConnections with database and enterprise not working

I am trying to use database connection and Active Directory Enterprise connection in lock. Database connection working great separately. Active Directory Enterprise connection also working separately.
But when i combine both in the app, only database connection users can login. Enterprise Active Directory users unable to login to the app. What i am doing wrong.

const option = {

auth : {

responseType : “id_token token” ,

params : {

state : window . location . pathname + window . location .search,

scope : "openid email app_metadata"



autoclose : true ,

closable : false ,

avatar : null ,

languageDictionary : {

title : "Log me in"


theme : {

logo : ,

primaryColor : #4285f4 ,


socialButtonStyle : ‘small’ ,

allowedConnections : [ ‘xxxxxxx-Enterprise’ , ‘xxxxxxx-Database’ ]


const lock = new Auth0Lock( xxxxxxxx , xxxxxxxxx , option);

1 Like

I’m having this same issue when attempting to use ADFS with Username/PW database connection. Both connections will work with social login, but will not work with each other. In the event that both are selected, only the Database connection is available at login.

1 Like

I am experiencing the exact same issue, and have spent a full week trying to debug this. Has there been any resolution for this?

1 Like

Hey there!

Sorry for such huge delay in response! We’re doing our best in providing you with best developer support experience out there, but sometimes our bandwidth is not enough comparing to the number of incoming questions.

Wanted to reach out to know if you still require further assistance?