Title: Missing lock.min.js
Last modified: March 23, 2018

---

# Missing lock.min.js

 *  Resolved [danyellhubrix](https://wordpress.org/support/users/danyellhubrix/)
 * (@danyellhubrix)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/missing-lock-min-js/)
 * After installing plugin and configuring both “sides” (plugin + Auth0 dashboard),
   my login screen was blank (except for link to WP “standard” login) and JavaScript
   console said “Uncaught ReferenceError: Auth0Lock is not defined at HTMLDocument….(
   wp-login.php:115)”
 * Manually pasting a reference to [https://cdn.auth0.com/js/lock/10.8/lock.min.js](https://cdn.auth0.com/js/lock/10.8/lock.min.js)
   in wp-login.php solved the issue, but the plugin should do this, yes? I loathe
   manual-patch workarounds, especially to WordPress core / standard-distribution
   files.
 * My “Widget URL” from Auth0 plugin settings “Advanced” tab is:
    //cdn.auth0.com/
   js/lock/11.5/lock.min.js
 * Help?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [Josh C](https://wordpress.org/support/users/auth0josh/)
 * (@auth0josh)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/missing-lock-min-js/#post-10108151)
 * Hi [@danyellhubrix](https://wordpress.org/support/users/danyellhubrix/), sorry
   you’re having trouble here. That work-around is definitely not something we’d
   recommend.
 * The “Widget URL” value you have is strange, the plugin installs with 11.1:
 * [https://github.com/auth0/wp-auth0/blob/master/lib/WP_Auth0_Options.php#L154](https://github.com/auth0/wp-auth0/blob/master/lib/WP_Auth0_Options.php#L154)
 * We actually just came out with 11.5 right around when you posted this so it’s
   possible that you just missed the release. Strange, though, that it was set to
   that. The one you mentioned before should work:
 * //cdn.auth0.com/js/lock/11.5/lock.min.js
 * … but if not, try the version right before:
 * //cdn.auth0.com/js/lock/11.4/lock.min.js
 * Let me know if that solves the problem!
 *  [danyellg](https://wordpress.org/support/users/danyellg/)
 * (@danyellg)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/missing-lock-min-js/#post-10113652)
 * I went to GitHub and manually updated the “Widget URL” field based on the most
   recent version available.
 * My problem isn’t which version is mentioned in that field, my problem is that
   the plugin is not including the JS regardless of the value I enter in the “Widget
   URL” field.
 * To try to get ahead of other “did you try?” style questions, I tried:
    – disabling(
   nearly) all other plugins (except WPML as deactivating those puts our site in
   an unuable state) – disabling cache, minify, compressing, defer’d load etc. (
   we use WP Rocket)
 * This is on a DEVELOPMENT server so we have wiggle-room to try things… but we 
   need to try something that will actually help isolate/identify the problem.
 * I should mention that our development server has a (deliberately) non-valid SSL
   certificate, so https works just fine but generates browser warnings (some APIs
   don’t like that either)… but that should not prevent a .js file from being enqueued,
   should it?
 *  [Josh C](https://wordpress.org/support/users/auth0josh/)
 * (@auth0josh)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/missing-lock-min-js/#post-10115895)
 * Hi [@danyellg](https://wordpress.org/support/users/danyellg/), sorry for the 
   trouble here.
 * Your certificate won’t affect the ability to load our JS so that’s definitely
   not it.
 * A few questions for you:
 * – If you search the source code for the widget URL, you don’t see it anywhere?
   If yes, how about the Network tab in Chrome (or similar in whatever browser you
   use)?
    – Are you using wp-login.php, a shortcode, or a widget? – Are you using
   passwordless?
 * If you’re able to post a link to where I can see the form in action, that would
   be helpful (but not required).
 * Thanks!
 *  [Josh C](https://wordpress.org/support/users/auth0josh/)
 * (@auth0josh)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/missing-lock-min-js/#post-10178553)
 * [@danyellhubrix](https://wordpress.org/support/users/danyellhubrix/) [@danyellg](https://wordpress.org/support/users/danyellg/)–
   I haven’t heard back in a while so I’m going to mark this thread as resolved.
   If you’re still having issues, please post back with answers to the questions
   above and I’ll be happy to help.
 *  Thread Starter [danyellhubrix](https://wordpress.org/support/users/danyellhubrix/)
 * (@danyellhubrix)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/missing-lock-min-js/#post-10200460)
 * Thread IS resolved. For posterity: this was caused by a plugin conflict with 
   [Antispam](https://wordpress.org/plugins/antispam/), an old and somewhat-neglected
   plugin.
    -  This reply was modified 8 years, 1 month ago by [danyellhubrix](https://wordpress.org/support/users/danyellhubrix/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Missing lock.min.js’ is closed to new replies.

 * ![](https://ps.w.org/auth0/assets/icon-256x256.png?rev=3351758)
 * [Login by Auth0](https://wordpress.org/plugins/auth0/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/auth0/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/auth0/)
 * [Active Topics](https://wordpress.org/support/plugin/auth0/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/auth0/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/auth0/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 5 replies
 * 3 participants
 * Last reply from: [danyellhubrix](https://wordpress.org/support/users/danyellhubrix/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/missing-lock-min-js/#post-10200460)
 * Status: resolved