wp-net / WordPressPCL

This is a portable library for consuimg the WordPress REST-API in (almost) any C# application
MIT License
335 stars 131 forks source link

The password entered is an invalid application password. #337

Closed drlee91 closed 1 year ago

drlee91 commented 1 year ago

Hello, i want to authenticate from my Blazor app to my Wordpress:

_client.Auth.UseBearerAuth(JWTPlugin.JWTAuthByEnriqueChavez);
await _client.Auth.RequestJWTokenAsync(loginModel.Email, loginModel.Password);

Sometimes I get the following error: WordPressPCL.Models.Exceptions.WPException: "The password entered is an invalid application password."

No application password has been set. users should be able to log in with their normal login data. The error often occurs in debug, but recently also in production for individual users.

Does anyone have an idea what I can do here?