• Hi,

    I am using WP_Http to connect to the API but the response says I need to enter the 2-Factor Authentication code. I know that’s not going to be possible.

    The response looks like:

    array(3) { ["code"]=> string(34) "[jwt_auth] wfls_twofactor_required" ["message"]=> string(75) "CODE REQUIRED: Please provide your 2FA code when prompted." ["data"]=> array(1) { ["status"]=> int(403) } }

    I guess I’m using the wrong user account to store the Application Passwords? The user in question has 2FA activated, however when I tried to connect using a different users’ credentials I got nothing at all. A null response.

    Is this a known issue with the plugin?

    Many thanks in advance,

    Anthony

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter antforshaw

    (@antforshaw)

    Addition: I meant to say that I can get the JWT token using POSTMAN and exactly the same credentials that are failing with the 2FA request.

    Hi,
    Did you find any solution for your 2FA problem yet?

    Kevin

    Thread Starter antforshaw

    (@antforshaw)

    No I’m afraid I haven’t – the JWT auth work I was doing has stalled now.

    Maybe one day someone will come up with a solution!

    Ant

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Correct credentials but required to enter 2FA code’ is closed to new replies.