Javascript error on Universal Login Page

Hi there,

When visting wp-login.php I am redirected to the Universal Login Page. The page does not render correctly with the login box missing.

Within the developer console I am receiving the following error:

Uncaught TypeError: Cannot read property 'match' of undefined
    at login?state=xxxx&protocol=oauth2&scope=openid email profile&response_type=code&redirect_uri=xxxx&connection=Username-Password-Authentication:43

It looks like the error is being thrown from this (line 43):

if(extraParams.message.match(/sign up/)) {
    	config.extraParams.initialScreen = 'signUp';
       }

The reason the error is thrown is that within the config.extraParams object, there is no “message” key.

Do I need to add any configuration to WordPress for the config.extraParams.message value to exist?

Hey there @david.rapidz, welcome to the Auth0 Community and I apologize for the delay in response!

Please record a har file of the login, be sure to select “Preserve log” to catch redirects and scrub the file of user passwords before passing it over in a direct message with the tenant name, thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.