auth0 / wordpress

WordPress Plugin for Auth0 Authentication
https://auth0.com/docs/cms/wordpress
MIT License
154 stars 96 forks source link

Error when setting sync tab DB connection. #920

Open f4w-git opened 3 days ago

f4w-git commented 3 days ago

Checklist

Description

I have installed the plugin successfully. 5.x to be specific. Trying to set the sync tab and get an error "Database Connection to sync WordPress with for non-social connections. Must begin with con_" Documentation all over Auth0 sites refer to the 4.x version of the plugin(which I installed successfully with sync capabilities. Error is as follows: [22-Oct-2024 18:52:16 UTC] PHP Fatal error: Uncaught Auth0\SDK\Exception\ArgumentException: A value for id must be provided in /home/httpd/wp-content/plugins/wordpress/vendor/auth0/auth0-php/src/Exception/ArgumentException.php:51 Stack trace:

0 /home/httpd/wp-content/plugins/wordpress/vendor/auth0/auth0-php/src/API/Management/Connections.php(93): Auth0\SDK\Exception\ArgumentException::missing('id')

1 /home/httpdwp-content/plugins/wordpress/src/Actions/Configuration.php(939): Auth0\SDK\API\Management\Connections->get(NULL)

2 /home/httpdwp-includes/class-wp-hook.php(326): Auth0\WordPress\Actions\Configuration->onUpdateSync(Array)

3 /home/httpd/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)

4 /home/httpd/wp-includes/formatting.php(5115): apply_filters('sanitize_option...', Array, 'auth0_sync', Array)

5 /home/httpd/wp-includes/option.php(866): sanitize_option('auth0_sync', Array)

6 /home/httpd/wp-admin/options.php(344): update_option('auth0_sync', Array)

7 {main}

thrown in /home/httpd/wp-content/plugins/wordpress/vendor/auth0/auth0-php/src/Exception/ArgumentException.php on line 51

Reproduction

input con_ database connection and get error.

Additional context

No response

wp-auth0 version

5.2.1

WordPress version

6.6.2

PHP version

8.3

f4w-git commented 3 days ago

This is upon trying to save the database connection.