• Resolved tcviper

    (@tcviper)


    Hello,

    Thank you for your work on this plugin. After installing (PHP 8.5 – Cloudpanel – Ubuntu 24), I enabled 2FA and Passkeys. I set a passkey for my user, but when I try to login with passkey it goes back to the login page (it says succes in green! but i get back to the login window). Same when I try to login with email and password once this plugin is installed and 2FA.

    Any idea what could be wrong? there are no other login plugins installed. Latest wordpress

    • This topic was modified 3 months, 2 weeks ago by tcviper.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Adam Greenwell

    (@adamgreenwell)

    Hello and thank you for reaching out. I’ve got some troubleshooting steps to take and see if it resolves the issue you are experiencing.

    1. Flush your browser cache or try in an incognito/private browser window — rules out stale cookies, browser extensions, or cached redirects interfering.
    2. Check WordPress URLs match — In Settings > General, verify “WordPress Address” and “Site Address” both use the same protocol (both https://) and the same domain. A mismatch causes cookie domain/path issues.
    3. Check browser DevTools (Network tab) — During the passkey login attempt, open DevTools > Network, look at the AJAX response to admin-ajax.php and check if Set-Cookie headers are present in the response. If they’re missing from the response, Nginx is
      stripping them. If they’re present but the browser still loses the session, it’s a cookie domain/SameSite/Secure attribute issue.

    I’ve got some more ideas but I strongly suspect it is a caching issue but we need to narrow down where the issue is occuring.

    Please let me know the outcome from these troubleshooting steps and we can go from there!

    Thread Starter tcviper

    (@tcviper)

    1. Thank you, tried 3 diferrent browsers (Chrome, Safari, Firefox, Incognito and cache clearing, still same problem. It just keeps saying success! and then i get the login window back.

      When I login with password only though, it works fine and redirects to the admin page.
    2. Both addresses are set the same with https://www.
    3. I opened DevTools (Chrome), and went to network. admin-ajax.php shows up very quickly and dissapears again 😛 But I do see Set-Cookie 3 times in there, in the headers of admin-ajax.php

      However, i do see in those domain=.mydomain.net while my site uses http://www.mydomain.net not sure if thats a thing.

    A debug message I see come along:
    Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the guard-dog domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.)

    Also would be cool if you could allow FluentSMTP plugin to work for 2FA emails 😀

    Im not sure if you are on any chat tool or mail, otherwise I could show you 😀

    • This reply was modified 3 months, 2 weeks ago by tcviper.
    • This reply was modified 3 months, 2 weeks ago by tcviper.
    Plugin Author Adam Greenwell

    (@adamgreenwell)

    Thank you for trying out those troubleshooting steps. We’re going to need to dig in deeper. Since you have debug logging enabled, could you send me your logs that have the [Guard Dog] prefix? I have a Slack channel that you can join, https://adamgreenwell.slack.com or you can email them to me directly at me [at] adamgreenwell [dot] com

    Thread Starter tcviper

    (@tcviper)

    Im not able to join that slack; No account found. Also not when trying Google mail.

    I dont have time today ill try to get that info later.

    Plugin Author Adam Greenwell

    (@adamgreenwell)

    My apologies, I forgot to provide the invite link to my Slack. https://join.slack.com/t/adamgreenwell/shared_invite/zt-3pjmqrf6v-wPd84m5iZQppYt9pGugxxA

    Plugin Author Adam Greenwell

    (@adamgreenwell)

    Thank you @tcviper for your help troubleshooting this issue. I’m going to make this as resolved but please reopen the ticket or contact me on Slack if any further issue arises.

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.