Hi Mohit,
Im trying to implement two factor authentication with an openid connect client.
My request contain: username and a composed password. The password is composed of the user password and the user OTP concatenated together (ex: qwerty568794). To authenticate a user, im using a ressource owner password credentials script (to split the composed password to the user password and the user OTP and verify them one by one). There is no problem with my script, it return True when the password and the OTP are good but the authentication return failure. The script im using is configured in the openid connect client under default ACR values.