Get error when sign in with Google
Screenshot_2025-05-14_005909.png

Recommended Answers

All 5 Replies

Thanks for the heads up! I’m able to reproduce it and I’ll look into it shortly. I’m currently still in bed.

It should be fixed now. Unfortunately it's been broken for quite awhile and I didn't realize it. It broke on the 5th of the month when I went through all the code and mass-added a wrapper that ran some sanitization stuff. So sorry about that! Either way, it's fixed now.

commented: thanks you +0

A little more information: I had a variable called $uri that I assumed was a URI, and so decided to be smart and add a sanitization wrapper around it to ensure it was a valid URI. It turned out that the variable was not meant to store a fully-formed URI but actually only part of one, and therefore always failed the check.

If you are facing error While signing in with google I can Recommend you to fix following isssues:

  1. Redirect URi mismatch
  2. Invalid Client ID/Secret
  3. wrong or missing scopes
  4. 403 eror occurs on mobile
  5. Constent Screen not published
    and also check browser console to know the exact problem
commented: AI word soup +0

I've now gone ahead and marked this question solved. I suppose I should have done that a bit earlier, as trendhijaking's post is a bit irrelevant at this point.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.