• Each time a user tries to setup 2FA. At the final step when clicking Validate & Save Configuration, it doesn’t happen anything. And the console shows the following message:

    Image

    Users can’t access to WordPress Dashboard. They try to setup 2FA from a page.

    WP 2FA 2.2.1
    Wordpress 6.0.1

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor robertabela

    (@robert681)

    Hello @gquinmat

    Thank you for trying our plugin.

    I am sorry to read about your issue. From what I can see it seems that the plugin doesn’t know if the 2FA has been validated or not. The plugin usually verifies this via an AJAX request, so if the AJAX URL is blocked on the website then this won’t work.

    A quick check / test for this; if you view the source of the page, can you see the AJAX URL in the source of the page? Look for this string: ajaxURL.

    Is it present in your pages?

    Thread Starter gquinmat

    (@gquinmat)

    Yeah, there are 3 variables declarations from a script with ID wp_2fa_frontend_scripts-js-extra: 2 variables named wp2faData and wp2faWizardData. By the way, I have the administrator role, and I’m the only one who could activate 2fa. I cloned the role and try to setup 2fa with that role on a different user and still don’t work.

    • This reply was modified 2 years, 3 months ago by gquinmat.
    Plugin Contributor robertabela

    (@robert681)

    Hello @gquinmat

    Thank you for your response.

    I think you’ve misunderstood the question in the previous post: in the source code of the page, can you see the AJAX URL of the website? The syntax should be something like this:

    {“ajaxurl”:”https:\/\/website.com\/wp-admin\/admin-ajax.php”,

    The WP 2FA plugin uses AJAX to verify the requests.

    Also, another test you can do is to change the role of a user that cannot set up 2FA to Administrator. When you do that, can the user set up 2FA then?

    Looking forward to hearing from you.

    Thread Starter gquinmat

    (@gquinmat)

    Hi

    These are my tests:
    1. For the admin role clone, I can see the ajaxURL as http:\/\/oficina-virtual.local\/wp-admin\/admin-ajax.php. I got the same problem, it showed me the same error
    2 For a lower level capability custom role, the same.
    3. It’s working for the default roles. The Subscriber role finished the process.

    I’m using Members, from MemberPress, to create roles. My custom roles, all of them, have wp2fa capabilities granted.

    Plugin Contributor robertabela

    (@robert681)

    Hello @gquinmat

    Unfortunately we cannot reproduce the issue in our test environment, so we need more information about your environment.

    Can you please send us the system information file? You can get the file from the Hep & Contact Us page in the plugin, from the System Info tab. Since the file contains technical information about your website’s setup, please send it over email at [email protected] and do not share it on this forum.

    Please make reference to this thread in the email.

    Thank you for your cooperation and we look forward to hearing from you.

    Plugin Contributor robertabela

    (@robert681)

    Hello @gquinmat

    Today we have released update 2.3.0. This version of the plugin features a number of new features and improvements, and a good number of bug fixes. Please refer to the WP 2FA v2.3.0 release notes for more information on what is new and improved in this update.

    Can you please install the latest update and let us know if with this update users can complete the 2FA setup?

    We look forward to hearing from you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t finish wizard steps’ is closed to new replies.