?auth0=1
appended:user_metadata
and app_metadata
), email and password changes for users, and email verification re-sending when verified emails are required.
read:users
and update:users
scopes, then select Update (you can search using the Filter scopes field).wp-config.php
file or in a must-use plugin. To learn more, read Must Use Plugins on wordpress.org. If the constant is defined in your theme’s functions.php
or in a plugin that loads after Auth0, the value will be ignored.
The PHP constants are defined like so:
The default constant name should be AUTH0_ENV_
followed by the option name to override in all caps (the prefix can be modified with the auth0_settings_constant_prefix
filter; to learn more, read Extend Login by Auth0 WordPress Plugin). All plugin options can be overridden and their keys can be found in the WP_Auth0_Options::defaults()
method. To see which options are available, view WordPress Auth0 Lock Options in our GitHub repository.
Note: The migration_token
value is generated by the plugin when user migration is turned on. If there is already a value in the admin, make sure to set the constant to the same value. If that value needs to change, it also must be changed in the custom scripts for the database Connection being used in the .
The settings field will change its display based on this new value and show the constant being used for reference. This value will be used everywhere in the plugin automatically.
Important: Saving the settings page after setting a constant value will validate the constant-set values (but not change them) and delete them from the options array being saved to the database. If you are just testing this functionality, do not save settings in the WordPress admin page until you’re ready to delete that value.
All sites in a WordPress multi-site network will use the same constant value making this an easy way to setup a network using a single Application and database Connection.
domain
.
custom_domain
.
client_id
.
client_secret
.
client_signing_algorithm
.
cache_expiration
.
wordpress_login_enabled
. Login page code option name is wle_code
.
wp-login.php
. The login page can also be accessed directly by adding ?wle
to the login URL.?wle
to the login URL. This will bypass the Universal Login Page redirect.?wle=
plus a code to the login URL. The code is generated automatically and will be shown below the controls for this setting. This will bypass the Universal Login Page redirect.wp-login.php
page to the Universal Login Page for (SSO) authentication using all active Connections for this Application. Option name is auto_login
.auto_login_method
.singlelogout
.override_wp_avatars
.passwordless_enabled
.
icon_url
.
form_title
.
gravatar
.
username_style
. Option name is client_secret_b64_encoded
.
primary_color
.
{"disableResetAction": true }
). Option name is extra_conf
.
custom_cdn_url
.
cdn_url
.
lock_connections
.
email_verified
flag in the user profile data. Option name is requires_verified_email
.
email_verified
flag.
remember_users_session
.
[auth0]
shortcode. Option name is default_login_redirection
. To change the redirect for the shortcode, add a redirect_to
attribute, like so:
[auth0 redirect_to="http://yourdomain.com/redirect-here"]
force_https_callback
.
auto_provisioning
.
migration_ws
. Migration token option name is migration_token
.
migration_ips_filter
.
valid_proxy_ip
.
auth0_server_domain
.