Skip to content

Application password does not works #76

Description

@nicolas281

It seems with new wordpress version, application password is incorrect each time for username

Activity

  1. Bart-studio commented on Oct 18, 2023

    @Bart-studio

    Hi, I've had the same problem.
    You don't need this plugin anymore : https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/#basic-authentication-with-application-passwords

    I simply removed the plugin and it worked again. Hope it helps.

  2. banago commented on Nov 18, 2023

    @banago

    I had the same issue and deactivating the Basic Auth plugin solved the issue for me too.

  3. MatzeKitt commented on Jul 7, 2026

    @MatzeKitt

    To fix it, add this after line 37:

    		// try authenticating via application password
    		if ( \is_wp_error( $user ) ) {
    			$user = \wp_authenticate_application_password( null, $username, $password );
    		}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions