diff --git a/src/core/web_api.js b/src/core/web_api.js index 162a5130c1..9a98178b99 100644 --- a/src/core/web_api.js +++ b/src/core/web_api.js @@ -39,10 +39,9 @@ class Auth0WebAPI { const authOpts = this.authOpts[lockID]; const f = loginCallback(!authOpts.popup, cb); const client = this.clients[lockID]; -console.log(this.authOpts[lockID]); + if (this.authOpts[lockID].legacyMode) { options.realm = options.connection; - console.log({...options, ...authOpts, ...authParams}); client.client.loginRealm({...options, ...authOpts, ...authParams}, f); } else if (authOpts.popup) { client.popup.login({...options, ...authOpts, ...authParams}, f) diff --git a/support/index.html b/support/index.html index 3a40001762..8176138aaf 100644 --- a/support/index.html +++ b/support/index.html @@ -17,6 +17,7 @@ const domain = "auth0-tests-lock.auth0.com"; const options = { rememberLastLogin: true, + legacyMode: false, auth: { redirect: false }