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 : ‘xxxxxx.com - xxx sex videos free hd ■■■■ Resources and Information.’ ,
primaryColor : ‘#4285f4’ ,
},
socialButtonStyle : ‘small’ ,
allowedConnections : [ ‘xxxxxxx-Enterprise’ , ‘xxxxxxx-Database’ ]
};
const lock = new Auth0Lock( xxxxxxxx , xxxxxxxxx , option);