• Resolved mmki

    (@mmki)


    Hi,

    in wp user profile there is a button “Delete Auth0 Data”. Is there a solution to disable this button for a certain Application in Auth0 dashboard?

    We create applications in Auth0 for our business partners to use for wordpress login process but we don’t want to let them as admins to delete users from Auth0 database.

    By the way – we use custom database and “Import Users to Auth0” option.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Josh C

    (@auth0josh)

    Hi @mmki,

    That button deletes the Auth0 data stored in WordPress, not the Auth0 user. This data will be added back in when the user logs in again. It’s often used to fix the problem where a user in WordPress is associated to the wrong Auth0 ID.

    Thread Starter mmki

    (@mmki)

    Thank You for quick response.

    Yet I found another problem.
    Let’s say I want to delete user from Auth0 database.
    If I click delete button from Auth0 dashboard te user is deleted. But then I have several wp applications, in each wp database the user still exist and if he logs in again he returns to Auth0 database. Is there a way to delete him completly without loging to all wp instances where he was loging in using auth0 and delete him from it. Or a better option is to block him. Is there a possibility that blocked user can log in to wordpress using ?wle option?

    Josh C

    (@auth0josh)

    Is there a way to delete him completly without loging to all wp instances where he was loging in using auth0 and delete him from it?

    There is no hook from Auth0 to WordPress to delete users so, if you want them removed, then yes, those need to be deleted individually.

    Or a better option is to block him.

    That sounds like a better option. Then you don’t have a situation where someone re-creates the user in WordPress and you’re back to square one. This keeps a record of the action.

    Is there a possibility that blocked user can log in to wordpress using ?wle option?

    Yes, that would still be possible. We’re working on a better “show login form or not” option for the next release to avoid this kind of situation.

    • This reply was modified 6 years ago by Josh C. Reason: Formatting
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Deleting Auth0 data’ is closed to new replies.