Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

google-signin

gapi is not defined – Google sign in issue with gapi.auth2.init

It happens because you have async and defer attributes on your script tag. gapi would be loaded after your script tag with gapi.auth2.init… To wait for gapi before executing this code you can use onload query param in script tag, like following: Or for case when you need it in many places, you can use … Read more

Categories javascript Tags google-signin, javascript

Google OAuth 2 authorization – Error: redirect_uri_mismatch

The redirect URI (where the response is returned to) has to be registered in the APIs console, and the error is indicating that you haven’t done that, or haven’t done it correctly. Go to the console for your project and look under API Access. You should see your client ID & client secret there, along with a list of … Read more

Categories authentication Tags google-signin, oauth-2.0, uthentication

Google OAuth 2 authorization – Error: redirect_uri_mismatch

The redirect URI (where the response is returned to) has to be registered in the APIs console, and the error is indicating that you haven’t done that, or haven’t done it correctly. Go to the console for your project and look under API Access. You should see your client ID & client secret there, along with a list of … Read more

Categories authentication Tags authentication, google-signin, oauth-2.0

Sign in with Google temporarily disabled for this app

I found this thread some time ago when this happened to us in our development project on Google Cloud Platform. You can use a project for development without verification. No problem on that. But there are some limitations (more information here and here). Basically, we reached the limit of 100 users accessing the application. It was strange because … Read more

Categories oauth Tags google-api, google-oauth, google-signin, oauth, oauth-2.0

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Post Navigation Elementor
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • WPFacet multiple loop displaying duplicate content
  • Get the name of the template/*html file used
  • Fix: WordPress.DB.PreparedSQL.NotPrepared Plugin Check (PCP)
  • Removing unnecessary CSS and JS code from wp_head()
  • hexagonal image gallery. Am I on the right track? [closed]
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress