• Resolved denisgomesfranco

    (@denisgomesfranco)


    Hello. First of all, thanks for such a simple plugin. I’ve been looking for an OTP solution but they all seem to be overly complex, seeing a very simple plugin is refreshing.

    I have installed it on a test site and the email OTP don’t seem to work for me. I am using only email authentication, not phone numbers. When I try to login and ask for an OTP code, the code reaches my inbox quickly but then when I type in the OTP code, the plugin says that the code is invalid. I have tried it both on regular and inprivate windows to no avail.

    Any help would be appreciated. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter denisgomesfranco

    (@denisgomesfranco)

    By the way, it would be nice if the OTP option could extend to the /wp-admin page as well.

    Plugin Support B.Ng

    (@baonguyen0310)

    I have installed it on a test site and the email OTP don’t seem to work for me. I am using only email authentication, not phone numbers. When I try to login and ask for an OTP code, the code reaches my inbox quickly but then when I type in the OTP code, the plugin says that the code is invalid. I have tried it both on regular and inprivate windows to no avail.

    Hello there,

    Thanks for reaching out and for your kind words! We’ve tested the plugin on our end, and everything appears to be working correctly. To help pinpoint why you’re seeing an “invalid code” error, could you please enable WordPress debug mode?

    Here’s how to do it:

    1. Open your wp-config.php file (located in the root folder of your WordPress installation).
    2. Just before the line /* That's all, stop editing! Happy publishing. */, add the following:

    // Enable WP_DEBUG mode
    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);

    1. Save the file and then try logging in with the OTP again.

    After you test the ‘Login with OTP,’ please check your WordPress debug log (located at wp-content/debug.log) to see what code was generated by the plugin. Confirm that it matches the code you received via email.

    Let us know what you find in the debug log and whether the codes match up. If they don’t, we’ll dig deeper to figure out the next steps.

    By the way, it would be nice if the OTP option could extend to the /wp-admin page as well.

    Added to our TO-DO list.

    Thanks, and looking forward to your update!

    Best regards,

    • This reply was modified 3 weeks, 6 days ago by B.Ng.
    Thread Starter denisgomesfranco

    (@denisgomesfranco)

    Did that, the log said that the code was 6401, that was the same code I got in the email. Still says it’s incorrect.

    Plugin Support B.Ng

    (@baonguyen0310)

    Hi,

    Thanks for checking the debug log. Since the code in the log matches the one you received via email, let’s take a closer look at your setup. Could you please share:

    1. The URL of your test site (if possible), so we can see if there are any obvious errors.
    2. Screenshots of your plugin settings, including any relevant configurations you have in the plugin’s settings page or any other related settings in WordPress.
    3. A screenshot of the error message you’re getting when entering the code.

    With a closer look at these details, we’ll be able to troubleshoot more effectively.

    Thank you! We’ll be happy to keep working on this until we get it resolved.

    Best regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.