Skip to content

How to Connect Apps with Application Passwords

A mobile app, a desktop publishing tool or an integration that signs in with a username and password over XML-RPC or the REST API cannot show a code screen. For a 2FA account, those password sign ins are refused with this message: “This account uses two-factor authentication. Use an application password to connect apps.”

Application passwords are WordPress’s own answer, and they keep working with 2FA on. On the demo, an application password sign in went straight through while a plain password over XML-RPC and over the REST API was refused. A real REST API request made with Amara Okafor’s application password returned her account.

Users → Profile, or the integration user’s profile, then Application Passwords.

Type the app’s name and press Add New Application Password. WordPress shows it once.

Paste it into the app in place of the account password. Revoke it from the same section when the app is no longer used.

For a service account that must sign in through a login form, exclude it instead. See How to Exclude Service Accounts from 2FA.