[GH-ISSUE #195] Google OAuth2 Error: redirect_uri_mismatch #58

Closed
opened 2026-02-27 04:58:58 +03:00 by kerem · 2 comments
Owner

Originally created by @noelje on GitHub (Nov 1, 2024).
Original GitHub issue: https://github.com/guyzyl/whatsapp-contact-sync/issues/195

I'm encountering an error when trying to sign in with Google. I am running the project in my local machine with the details already filled out

  • GOOGLE_CLIENT_ID
  • GOOGLE_CLIENT_SECRET
  • You also need to update the CLIENT_ID and API_KEY variables in [web/src/pages/GoogleAuth.vue]
Access blocked: This app's request is invalid

You can't sign in because this app sent an invalid request. You can try again later, or contact the developer about   
 this issue. Learn more about this error

If you are a developer of this app, see error details.

Error 400: redirect_uri_mismatch   

You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy.

If you're the app developer, register the JavaScript origin in the Google Cloud Console.
Request details: origin=http://localhost:4000 flowName=GeneralOAuthFlow
Originally created by @noelje on GitHub (Nov 1, 2024). Original GitHub issue: https://github.com/guyzyl/whatsapp-contact-sync/issues/195 I'm encountering an error when trying to sign in with Google. I am running the project in my local machine with the details already filled out - [x] GOOGLE_CLIENT_ID - [x] GOOGLE_CLIENT_SECRET - [x] You also need to update the CLIENT_ID and API_KEY variables in [web/src/pages/GoogleAuth.vue] ``` Access blocked: This app's request is invalid You can't sign in because this app sent an invalid request. You can try again later, or contact the developer about   this issue. Learn more about this error If you are a developer of this app, see error details. Error 400: redirect_uri_mismatch   You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. If you're the app developer, register the JavaScript origin in the Google Cloud Console. Request details: origin=http://localhost:4000 flowName=GeneralOAuthFlow ```
kerem closed this issue 2026-02-27 04:58:58 +03:00
Author
Owner

@noelje commented on GitHub (Nov 1, 2024):

had to add URI as mentioned in #193

<!-- gh-comment-id:2451739995 --> @noelje commented on GitHub (Nov 1, 2024): had to add URI as mentioned in #193
Author
Owner

@guyzyl commented on GitHub (Nov 2, 2024):

:)

<!-- gh-comment-id:2453053121 --> @guyzyl commented on GitHub (Nov 2, 2024): :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whatsapp-contact-sync#58
No description provided.