Wordpress "Login with Google": Error 400: redirect_uri_mismatch
For Wordpress actually there are these two plugin:
They work great! And they are free.
Into one website I had a problem with the login.
After pressing the "Login with Google" button and selected the account, Google return the error:
Error 400: redirect_uri_mismatch
After some trouble shooting I found the problem.
This website was installed into a sub-folder and the index.php in the root had the classic string for mask the subfolder in the URL. Read the official documentation.
For solve this problem you must install the Wordpress files into the root directory!
The problem is how Wordpress sub-folder system work.
In my case Wordpress was into "www.domain.com/wordpress".
I moved all content of the wordpress folder into the root directory.
After all work properly!
The problem is how Wordpress manages the sub-folder login page.
Comments
Post a Comment