• Resolved rgorrie

    (@rgorrie)


    Hi,

    Private WordPress site so can’t share link but may have found a bug for hidden fields in the auth0 WP advanced admin.

    When I follow the docs and create a custom text field, the data show up no problem in the user meta in auth0 dashboard.

    When I create a HIDDEN field following 100% the spec outlined in the docs and then look at the console errors, the browser JS console tells me that it is ignoring the field because type is not “text, checkbox or select”. (i.e. it’s telling me hidden isn’t allowed)

    I’ve spent 2 days trying to work through or do work-arounds with JS and CSS, hiding or modifying after the fact to no avail. Am I missing something or is this a bug? I’ve literally copy/pasted the exact JSON from the docs and proved working versions of everything on it but every “hidden” field gives me the same error per above.

    Suggestions?

    Thanks

Viewing 1 replies (of 1 total)
  • Hi @rgorrie,

    If you’re using the default Lock (Auth0 login form) version in the plugin, then you’re probably on v11.5. The hidden field option was added in 11.9:

    https://github.com/auth0/lock/blob/master/CHANGELOG.md#v1190-2018-08-28

    If you go to Auth0 > Settings > Advanced > “Lock JS CDN URL” and change that to:

    
    https://cdn.auth0.com/js/lock/11.9/lock.min.js
    

    … or anything later, then that capability will be there. Next plugin version will update that to the latest.

    Let me know if you’re still stuck after that change!

Viewing 1 replies (of 1 total)
  • The topic ‘Hidden field bug?’ is closed to new replies.