Resource Owner Password Flow Login Failure Created Multiple Types of Logs

Problem Statements:

When generating a wrong password for a ROPG Flow, we saw that the same error has 2 types of logs for a failed login: “fepft” and “fp” log types.


This is the expected behavior. When the login fails for a ROPG flow, it generates a “fepft” event type continued by either a “fu” or “fp” login event if the username or password was wrong, respectively.
The first event is caused due to the failed call to the token endpoint, and then any “fu” or “fp” are generated for the wrong username/password itself.