Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter sdasilva

    (@sdasilva)

    @auth0josh
    Thank you for the reply. I’ve followed the troubleshoot guide, however I wasn’t very luck in determining the exact problem. Here is what is happening with me as I follow the guide:

    • On step 2, I am asked to check if the auth0_state is being set. It is not. I then checked the console for errors and saw only the 500 response at index.php
    • I proceeded to adding the suggested snippet to the top of my wp-config.php file. I tried to login in this manner and saw a non-empty Array(). Because it was not an empty value, I did as told and checked the response headers for the callback URL loaded. There were NO responses listed with a 500 this time, I actually got a 200 OK response from the index. I did however find some evidence of caching, with a max-age= =600 and x-cache: HIT: 1.In the response headers I did not find the directive auth0_state=deleted, but I did see in the Cookies tab that auth0_state has a set value.
    • There was some evidence of caching, but the behavior did not quite match what was described in the guide. I then proceeded to edit the WP_Auth0_LoginManager.php file. The guide suggests adding some code just before a specific line, however it seems the code was updated and the link in the guide no longer points to the correct location of where to add the code. I had to do some guesswork and added it here
      After trying to login again, I can confirm that the state parameter in the $_REQUESTdoes not match the auth0_state of the $_COOKIE, which returns only an empty array.

    All this seems to suggest that the cookie did change at some point, but I am not sure what to do form this point forward. What do you recommend? Thank you.

    • This reply was modified 6 years, 4 months ago by sdasilva.
Viewing 1 replies (of 1 total)