• Resolved dma999999

    (@dma999999)


    Hi there. Just tried installing Clef, but kept getting this error message when attempting to login:

    The state parameter is not verified. This may be due to this page being cached by another WordPress plugin. Please refresh your page and try again

    Just kept presenting me with the login screen, saying I was logged in and to proceed, but when I clicked on the button, didn’t go anywhere.

    Anyway, through trial and error, it seems that there is a conflict between Clef and the iThemes Security plugin – when that plugin was disabled, Clef worked just fine. However, having been hacked before, I would really, really, really like to continue using iThemes Security. Might there be particular settings that I could disable in order to allow me to use both? I already tried disabling all the “System Tweaks” in iThemes but still got the same error when attempting to use Clef.

    Any suggestions would be most appreciated.

    https://www.ads-software.com/plugins/wpclef/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter dma999999

    (@dma999999)

    Figured it out – can’t use the “Hide backend” function in iThemes. Disabling that allows Clef to work.

    That being said, it would be great if there were a way to use that functionality with Clef.

    Plugin Contributor inthylight

    (@inthylight)

    @dma999999

    Hi there,

    Two things here: (a) the iThemes hide backend feature is compatible with the Clef plugin; (b) on the state parameter error, can I ask you to take a look at this guide: https://support.getclef.com/article/95-the-state-parameter-is-not-verified-error; it is likely that there is a caching issue involved. If you need assistance working through the suggestion on the guide, can you email [email protected] with the details of the site in question (e.g., the URL, the hosting provider, what your caching setup includes, etc.)

    Thread Starter dma999999

    (@dma999999)

    Thanks very much. The instructions were straightforward. Unfortunately, following the suggestions in the guide did not work when I turned on the hide backend feature and cleared all the caches. I’m on WPEngine and it’s only their caches I used, so I cleared both the one from within WP in their plugin, as well as the user portal. I tried clearing a couple of times after having reactivated the feature, but alas, same error message. There is no option in WPEngine to exclude wp-login from caching, at least none that I could find.

    Plugin Contributor inthylight

    (@inthylight)

    Unfortunately, I’m not a WPE customer at the moment, so I can’t test the following directly. However, based on this (https://wpengine.com/support/using-dev-tools/) . . .

    Cache-Exclude Paths
    
    This allows you to indicate which URL paths should never be cached. This is useful for eCommerce pages or special login pages.

    . . . it looks like you might be able to request access from WPE to an extra Dev Tools kit. The Cache-Exclude Path is the tool you will need to use in order to exclude the re-named login page from WPE’s cache.

    Alternatively, as a possible creative workaround, you could inquire what the rule pattern is for excluding the default login script (wp-login.php); then, if the pattern includes a wildcard like /wp-login.php*, you could set your renamed script to a name that would be included in the wildcard such as /wp-login.php?secret-login-page-name

    UPDATE: I contacted WPE support, and the long and short is that (a) the Cache-Exclude-Paths tool is only for a subset of enterprise customers; (b) however, support will accommodate customer requests for excluding a custom login script URL from a WPE customer’s server cache, but doing so requires contacting support and requesting them to set up the exclusion rule.

    Plugin Contributor inthylight

    (@inthylight)

    I should mention one more WPE thing here too: staging sites in WPE accounts are not server-side cached (https://wpengine.com/support/staging/). So, if you test iThemes renamed login page + Clef on your staging environment, you should be able to verify that Clef logins are working in the non-cached environment. (Be sure to add the staging domain to your list of Application Domains in the Clef integration settings; see https://support.getclef.com/article/75-using-staging-urls-with-clef-s-wordpress-plugin).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Clef and iThemes Security’ is closed to new replies.