Skip to content

Instantly share code, notes, and snippets.

@joshcanhelp
Created June 26, 2018 16:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshcanhelp/1b8bb990048325eb7214e2b3d7136b78 to your computer and use it in GitHub Desktop.
Save joshcanhelp/1b8bb990048325eb7214e2b3d7136b78 to your computer and use it in GitHub Desktop.
How the Lock options object should look in View Source
var wpAuth0LockGlobal = {"settings":{"auth":{"params":{"state":"STATE_VALUE_FROM_AUTH0_STATE_COOKIE","scope":"openid email profile"},"responseType":"code","redirectUrl":"http:\/\/wp.localhost.test\/wp\/index.php?auth0=1","sso":true},"passwordlessMethod":"link","socialButtonStyle":"small","container":"auth0-login-form"},"ready":"1","domain":"joshc-test.auth0.com","clientId":"YOUR_CLIENT_ID","stateCookieName":"auth0_state","nonceCookieName":"auth0_nonce","usePasswordless":"","loginFormId":"auth0-login-form","showAsModal":"","i18n":{"notReadyText":"Auth0 is not configured","cannotFindNodeText":"Auth0 cannot find node with id ","modalButtonText":"Login"}};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment