fbpx

Google login returns 404

HomeTopicsSupport forumGoogle login returns 404
Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #14777
    Avatar
    John
    Participant

    Hello,
    I have an issue with Google Login, everything is set exactly on Google Api but when trying to login it goes to 404.
    Facebook login is working.
    Many thanks

    #14779
    Artem Temos
    Artem Temos
    Keymaster

    Hello,

    As we can see, the error is on the Google side. Most likely, you have removed your App there. We recommend you create a new App following our tutorial in the documentation. So follow all the steps from scratch. https://space.xtemos.com/article/how-to-configure-google-login

    Kind Regards

    #14795
    Avatar
    John
    Participant

    Hello,
    I have tried multiple times. I need to mention that is not first time that I use google login.
    It is possible to be something related to callback?
    Everything is okey on Google API.
    Please let me know what should I do.

    #14797
    Artem Temos
    Artem Temos
    Keymaster

    Please, provide us your admin and FTP access so we can check the problem.

    #14823
    Avatar
    John
    Participant

    Many thanks 😀

    #14825
    Artem Temos
    Artem Temos
    Keymaster

    Google returns 404 error and the problem is with your hosting server configuration. Google redirects you to the URL that is blocked by your server somehow. You need to contact your hosting provider for help in this situation http://prntscr.com/m3z2ui

    #14828
    Avatar
    John
    Participant

    Hello, many thanks for your response. I will ask the host if there is any firewall active.
    Thanks

    #14930
    Avatar
    John
    Participant

    hello, I have talked with the hosting provider and they told me that the issue is not affected by any firewall or blocking app.
    Can you recheck, please?
    Like I said Facebook is working perfectly.

    #14961
    Artem Temos
    Artem Temos
    Keymaster

    We still see that it is blocked somehow. Please, compare the two URLs

    Blocked: https://crego.ro/contul-meu/google/oauth2callback?code=uthuserinfo.profile
    Allowed: https://crego.ro/contul-meu/google/oauth2callback?code=uthuserinfo.pofile

    #14964
    Artem Temos
    Artem Temos
    Keymaster

    Please, provide us your FTP access so we can check from the theme side also.

    #15093
    Avatar
    John
    Participant

    Please check the reply above.. you have the information for ftp in a private post.
    Thanks

    #15100
    Artem Temos
    Artem Temos
    Keymaster

    We have performed the following test:

    1. Created an empty PHP file called test.php that prints $_GET array.

    2. Try to open this file with the following parameters http://crego.ro/test.php?test=test.profile and it redirects to 404 page by the server.

    3. If we remove .profile part, it works correctly http://crego.ro/test.php?test=test

    This is definitely something on your server-side. This test file is empty and doesn’t have any code that might impact this.

    Kind Regards

    #15149
    Avatar
    John
    Participant

    Many thanks for all your support. Indeed the hosting understood that there was an issue on their backend. Much appreciation. Case Solved

    #15155
    Artem Temos
    Artem Temos
    Keymaster

    Great, we are glad to help you. It would be nice if your hosting provider could give us some hint what was wrong there so we can advise our other customers with the same issue.

    Kind Regards

    #15256
    Avatar
    John
    Participant

    As I’ve understood some ModSecurity firewall rules were disabled.

    #15260
    Artem Temos
    Artem Temos
    Keymaster

    OK, thank you!

Viewing 16 posts - 1 through 16 (of 16 total)

The topic ‘Google login returns 404’ is closed to new replies.

Sign in

No account yet?

Create an Account