• When I tried creating an application password, it always gave me a blank box only. I tried doing several things like disabling all the plug ins and wordfence but its still the same.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator threadi

    (@threadi)

    Where exactly is the problem? To create an application password, you must give it a name and then request it. The password will then be displayed. See also: https://make.wordpress.org/core/2020/11/05/application-passwords-integration-guide/

    You are also welcome to show a screenshot of what you see, see: https://wordpress.org/support/forum-user-guide/block-editor/#adding-screenshots

    Pouya

    (@pouyaebrhm)

    Hi,

    If the application password field stays blank, this is usually caused by a JavaScript error in the admin, not by permissions.

    Please check the browser console (F12 → Console) when clicking “Add New Application Password” and see if there are any JS errors.

    Also make sure:
    – No admin JS is blocked by a security plugin or browser extension
    – REST API is not blocked by firewall / host
    – define(‘DISABLE_APPLICATION_PASSWORDS’, false); is not set anywhere

    This feature relies on REST + JS, so a silent JS failure can result in a blank box.

    Thread Starter hrodil

    (@hrodil)

    Hi. This is what I’m getting. Please check the link: https://drive.google.com/file/d/1BTx3SOxlKzSHVvMCHqQNgICKR4iUWEfD/view?usp=drivesdk

    Pouya

    (@pouyaebrhm)

    Hi,

    Thanks for the video.

    Unfortunately I can’t access external Drive links from here.
    Could you please open your browser Console (F12 → Console tab), click “Add New Application Password”, and copy/paste the exact JavaScript error message shown there?

    Also please check the Network tab and see if the request to:

    /wp-json/wp/v2/users/me/application-passwords

    returns:

    • 401 (Unauthorized)
    • 403 (Forbidden)
    • 500 (Server error)
    • or anything blocked

    This feature relies entirely on the REST API.
    If the field stays blank, it usually means one of the following:

    1. A security plugin is blocking REST requests
    2. The host firewall is blocking /wp-json/
    3. A JS file in admin is not loading (404 or blocked)
    4. ModSecurity rule triggered on the server

    As a quick test, please temporarily:

    • Deactivate all plugins
    • Switch to a default theme (e.g. Twenty Twenty-Four)
    • Try again

    Let us know the exact console error and the status code from Network — that will tell us exactly where the issue is.

Viewing 4 replies - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.