Change Users' Passwords

Connect your app to WordPress

To configure WordPress OAuth2 connections, you will need to register Auth0 with the WordPress Developer Portal.

Trigger an interactive password reset flow

1. Log in to the Developer Portal

Go to the WordPress Developer Portal, and log in with your WordPress credentials. Select My Apps from the top menu.

Use the Authentication API

2. Provide Your Auth0 Application Information.

If you have not already registered your application with Wordpress, click Create New Application:

Complete all the fields on the Create an Application screen.

Field Description
Name The name of your application
Description The description of your application
Website URL The URL to an informational home page about your application
Redirect URL Enter https://YOUR_DOMAIN/login/callback in this field
Javascript Origins (optional) Whitelist URLs to prevent unauthenticated GET requests
Verification Question To confirm you are an actual user performing the request
Type Select Web as the client type

Find your Auth0 domain name for redirects

If your Auth0 domain name is not shown above and you are not using our custom domains feature, your domain name is your tenant name, plus For example, if your tenant name were exampleco-enterprises, your Auth0 domain name would be and your redirect URI would be

If you are using custom domains, your Lockredirect URI will have the following format: https://<YOUR CUSTOM DOMAIN>/login/callback.

After completing the fields, click on the Create button.

Then (or if you have previously registered your application) you will see your application listed on your dashboard landing page.

Use Lock

3. Get your Client ID and Client Secret

On the My Applications dashboard page, click Manage Application. Under the OAuth Information you will see your Client ID and Client Secret.

In a separate tab or window, go to the Connections > Social section of the Auth0 dashboard.

Click on the box with the WordPress logo.

This will bring up the WordPress connection settings. Copy the Client ID and Client Secret from your WordPress application.

Configure settings

Click SAVE. Then click the Clients tab and select the applications you wish to enable this connection.

Enable applications

Click SAVE when finished.

Directly set the new password

4. Test the connection

In the Connections > Social section of the Auth0 dashboard a TRY icon will now be displayed next to the WordPress logo:

Click Try

Click TRY.

The WordPress access page will appear.

Connect Your Site

Click Approve and if configured correctly, you will see the It works!!! page: