The redirect URI in the request, https://yourdomain.com/login.php, does not match the ones authorized for the OAuth client. To update the authorized redirect URIs, visit: https://console.developers.google.com/apis/credentials/oauthclient/976829358586-vtbg2ikk0alisaj770753ijh1utr6n4d.apps.googleusercontent.com?project=976829358586