The redirect URI in the request, http://old.modapi.cc/index.php/GoogleAuth/, 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/868418170764-vuvml420mo772rfl8td02201r5c5i9r6.apps.googleusercontent.com?project=868418170764