User Profile Fields are Deleted When Deleting Auth0 Data

Dear Auth0 Support Community,

I am reaching out on behalf of BITS regarding an issue we are experiencing on our WordPress website, where we have both Auth0 and Paid Memberships Pro installed.

Our members occasionally need to update their email address and other profile information. To ensure the changes persist properly, our current process is as follows:

1. Navigate to the User Profile within WordPress

2. Click “Delete Auth0 Data”

3. Update the user’s details (such as email address)

4. Click “Update User”

Recently, we have encountered an issue where two members’ membership profiles completely disappeared after completing this process. We are unsure whether this behavior is being caused by Auth0, Paid Memberships Pro, or a conflict between the two systems.

We are hoping you may be able to provide guidance on:

· Whether deleting Auth0 data could trigger removal or unlinking of membership records

· Any known conflicts between Auth0 and Paid Memberships Pro

· Recommended best practices for updating user email addresses when using Auth0 with WordPress

Please let us know if you need additional details, logs, or screenshots to help troubleshoot.

We can be reached at it-admin@bits-acb.org.

Thank you for your assistance.

Best regards,
BITS IT Administration

Hi @support39

Welcome to the Auth0 Community!

I believe that the issue might be caused by the fact that you are deleting the Auth0 data completely instead of simply updating the user. Since the corresponding Auth0 identity is being deleted, it could create a discrepancy between the new Auth0 profile and the PMP profile, leading to lost data. I am not 100% familiar with Wordpress however the Delete Auth0 Data should delete the entire Auth0 identity instead of “discarding” all information on the profile itself.

You should be able to avoid this conflict by simply updating the respective user using the Management API while keeping all associated data with Wordpress and PMP intact. By doing this, the next time the user logs into your application, the profile data should sync automatically.

Otherwise, there are no inherent, direct conflicts. From what I understand, the issue arises from breaking the link between the user’s identity in the two systems. As long as the user_id remains stable, PMP should continue to function correctly. The “Delete Auth0 Data” action appears to be what breaks this stable link.

If you have any other questions, let me know!

Kind Regards,
Nik