-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
Checklist
- I have looked into the Readme and the documentation, and have not found a suitable solution or answer.
- I have searched the issues and have not found a suitable solution or answer.
- I have searched the Auth0 Community forums and have not found a suitable solution or answer.
- I agree to the terms within the Auth0 Code of Conduct.
Description
Adding Sync configuration settings in the admin fails with a fatal error and no useful error message if the application API is not configured to have the currently undocumented grant types of read:connections and I think create:user_tickets. Additionally depending on the sync options chosen you might need delete:users as well as read:users and create:users and update:users.
Those should at least be documented in the readme here, but you'll know best which scopes are actually needed now with v5.
To provide proper error messages and handling it probably needs read:client_grants too to help users know how to resolve the problem.
Reproduction
- Create an auth0 application and configure the API per the current docs with
read:usersandupdate:usersscopes enabled - Go to the admin Sync settings page for the plugin and enter a db connection name
- Save changes
- Fatal error screen shows
Additional context
No response
wp-auth0 version
5.5
WordPress version
6.9
PHP version
8.4
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels