I am trying to use Auth0 Lock model and configure it to hit a certain database connection. I am doing the simple example but I don’t see any way to get that modal to create / authenticate users to specific Auth0 Database Connection. I have tried passing it in the allow connections setting but when passing the name in that setting they are not getting created in the DB provided by auth0. Any thoughts?
var lock = new Auth0Lock(‘myclientId’, ‘mydomain.auth0.com’, {
auth: {
redirectUrl: ‘https://mydomain.zendesk.com/access/saml’,
responseType: ‘code’,
params: {
scope: ‘openid email’ // Learn about scopes: Scopes
}
},
allowedConnections: ‘Username-Password-Authentication’],
// Did not work…
defaultDatabaseConnection: ‘mydatabaseName’
});