• Resolved igor1993

    (@igor1993)


    I turned off all plugins. And dont have any caching like Varnish. I got in touch with my host and asked them about their cookie related caches. Their answer: Our servers support various types of cookies, including essential ones for authentication and security. I dont have any ideas.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Laszlo

    (@laszloszalvak)

    Hi @igor1993

    The “Unable to validate CSRF state” error can usually occur if:

    • we are unable to set our SESSnsl cookie, as it gets blocked by something
    • or if we are unable to access to the site transients, e.g. because wrongly configured object caches

    I see you mentioned that you don’t have Varnish, but you should also check if you have any object cache on your site. As it is a common problem that people enable object cache on their site, but they actually don’t have the prerequisites to run object cache ( the corresponding PHP extension and the daemon ), so the object cache will mess up the site transients.

    Object cache can come in form of a “Must use” plugin, or some caching plugins can also load it as an additional layer of caching. So what you should also check is:

    • if you have a Must use / Drop ins folders and if you do, then check if you have any object cache like files listed there
    • if you have any caching plugin installed, since if you do then you should check if they have an object cache feature

    If you have an object cache indeed, then you should try disabling it and see if that makes any difference.
    Note: You can not simply disable “Must use” plugins on the Plugins page. To disable those you will need to connect to your FTP or you use a file manager and you move the object cache file out of the /wp-content folder.

    By the way, if the problem is caused by the object cache indeed, then most object caches has a status page, where you can check the connection. If you check that page, it will most likely mention that the connection failed, which means one of the key prerequisites is missing. Until you / your host installs all prerequisites, you should leave object cache disabled, as that way it won’t increase the performance of your site, what’s more it will slow it down.

    If you still experience problems even after trying these, then please send us a real URL of the site where you experience the problem, and we will check a couple of things.

    Note: If you don’t want to share the URL of your website on this public forum, then you can get in touch with us directly over the ticket system here: https://nextendweb.com/contact-us/nextend-social-login-support/

    Best regards,
    Laszlo.

    Thread Starter igor1993

    (@igor1993)

    I have Object Cache Pro plugin, but i disabled it. And dont have any object cache on this site. URL is real, for testing, theres protection page, password – 123

    Plugin Support Laszlo

    (@laszloszalvak)

    I checked the previously linked site again, but I couldn’t complete the authentication with Google, as I received the following error in the Google authentication screen:

    • Error 403: access_denied

    with the error description:

    yourfirst.store has not completed the Google verification process. The app is currently being tested, and can only be accessed by developer-approved testers.

    So it seems currently your Google app is only usable by your developer Google account. So please either:

    • complete the Google App verification ( the reason you have to go trough an individual verification as probably you did extra steps other than the ones we described in the Getting Started guie. E.g. if you set an App logo, that will automatically flag your Google App for verification. )
    • or you will need to add my Google account as a tester account in your App ( to do this, please get in touch with us directly over the ticket system over the link I sent in my previous reply, refer to this topic, and I will send you my email address there. )
    Thread Starter igor1993

    (@igor1993)

    I made a ticket, wait for your email to include you as a tester.

    Plugin Support Laszlo

    (@laszloszalvak)

    @igor1993 I have just replied to your ticket. Once you added the user, please reply to my message there and we will continue this topic in the ticket system.
    Note: if you can not find my message in your inbox, please check the spam/promotions folders as sometimes our messages end up there.

    Thread Starter igor1993

    (@igor1993)

    I added you as a tester and replied to your message

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    @laszloszalvak

    ‘m am 100% sure you mean well but please never ask for credentials on these forums nor log into user sites.

    Now for the why: The internet is a wonderful place full of very nice people and a few very bad ones. I’m sure everyone here is very nice however, by giving some ones keys to your house you are trusting they wont steal anything. Likewise the person who takes the keys is now responsible for the house FOREVER.

    If something was to go wrong, then you the author may well legally become liable for damages, which they would not normally have been as their software is provided without warranty.

    Please be aware that repeatedly asking for credentials will result in us escalating this to the plugins team.

    It’s never necessary to do that. Here’s why.

    There are many ways to get information you need and accessing the user’s site is not one of them. That’s going too far.

    • Ask for a link to the https://pastebin.com/ or https://gist.github.com log of the user’s web server error log.
    • Ask the user to create and post a link to their phpinfo(); output.
    • Ask the user to install the Health Check plugin and get the data that way.
    • Walk the user through enabling WP_DEBUG and how to log that output to a file and how to share that file.
    • Walk the user through basic troubleshooting steps such and disabling all other plugins, clear their cache and cookies and try again.
    • Ask the user for the step-by-step on how they can reproduce the problem.

    You get the idea.

    Volunteer support is not easy. But these forums need to a safe place for all users, experienced or new. Accessing their system that way is a short cut that will get you into real trouble in these forums.

    Plugin Support Laszlo

    (@laszloszalvak)

    Hi @sterndata

    Actually we didn’t request any WordPress credentials from @igor1993. What we discussed above is how Google OAuth2 works. Basically it works that way, that if you create a Google OAuth2 App which is not verified, then only you – the owner of the Google App – will be able to make API requests.

    Nextend Social Login is a social login plugin, that relies on such OAuth2 Apps. In our case this means that until the Google App is not verified, we – and nobody else – won’t be able to use the social login feature. External ( the non app owner ) Google accounts such as mine, can only go trough the authorization and authentication flow of Google, if the App owner adds the person’s email address to the Google OAuth App as a Tester account as it is suggested here:

    This is a mandatory step, otherwise the request will die on the end of the Google, in its consent screen, so you won’t even get back to the person’s website thus you won’t be able to debug the issues, or log errors, etc.

    Sorry for the long message, I just wanted to clarify this.

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