extends layout

block content
  script(src="https://cdn.auth0.com/js/lock-8.2.js")
  
  div(id="root" style="width: 280px; margin: 40px auto; padding: 10px;")

  script.
    var lock = new Auth0Lock('#{env.AUTH0_CLIENT_ID}', '#{env.AUTH0_DOMAIN}');
    lock.show({
        container: 'root'
      , callbackURL: '#{env.AUTH0_CALLBACK_URL}'
      , responseType: 'code'
      , authParams: {
        scope: 'openid name email picture'
      }
    });

  

extends layout

block content
  script(src="https://cdn.auth0.com/js/lock-9.0.js")
  
  div(id="root" style="width: 280px; margin: 40px auto; padding: 10px;")

  script.
    var lock = new Auth0Lock('#{env.AUTH0_CLIENT_ID}', '#{env.AUTH0_DOMAIN}');
    lock.show({
        container: 'root'
      , callbackURL: '#{env.AUTH0_CALLBACK_URL}'
      , responseType: 'code'
      , authParams: {
        scope: 'openid name email picture'
      }
    });

  

Update lock to version 9
Update lock to version 9