Home  >  Article  >  Backend Development  >  Why Am I Getting the \"Daily Limit for Unauthenticated Use Exceeded\" Error When Using Google Plus Sign-Up?

Why Am I Getting the \"Daily Limit for Unauthenticated Use Exceeded\" Error When Using Google Plus Sign-Up?

Linda Hamilton
Linda HamiltonOriginal
2024-10-27 10:47:30248browse

Why Am I Getting the

Daily Limit for Unauthenticated Use Exceeded: Addressing Google Plus Login Issue

When attempting to implement Google Plus sign-up in your web app, you may encounter the error: "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup." Despite having signed up your app with an OAuth 2.0 key, you remain puzzled about the cause.

The culprit lies in the status of the Google API in your Google Developer Console. It must be enabled. To resolve the issue:

  • Visit your developer console: https://console.developers.google.com/project/YOUR_APP_ID/apiui/api
  • Locate the "Google API" and ensure it is set to "ON"

Once enabled, wait a few minutes and retrieve a new access token. Attempt the sign-up again with the updated token. If the issue persists, try the following:

  • Confirm that the OAuth 2.0 key is set up correctly and associated with the correct project.
  • Verify that the API key in your client-side code matches the server-side code.
  • Check if the Google API scope is included within the permissions requested during sign-up (e.g., "https://www.googleapis.com/auth/plus.login").
  • Ensure that the server-side code is correctly handling the access token and making authorized API calls to Google using the required authentication headers.

By following these steps, you should be able to successfully implement Google Plus sign-up and avoid the "Daily Limit" error.

The above is the detailed content of Why Am I Getting the \"Daily Limit for Unauthenticated Use Exceeded\" Error When Using Google Plus Sign-Up?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn