I’m trying to run the example Gmail tool script, but running into an error with the redirect URI.
I’ve added the GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, GOOGLE_PROJECT_ID, and GOOGLE_REDIRECT_URI=http://localhost to my .env file.
When I go to run the script, it brings me to the following page stating that the redirect URI does not match. If I run this script multiple times, the port number changes each time which means that I’m unable to add it as a registered Redirect URI on the GCP page and wildcards are unable to be added there as well.
Hi
Thanks for reaching out and for using Agno! I’ve looped in the right engineers to help with your question. We usually respond within 24 hours, but if this is urgent, just let us know, and we’ll do our best to prioritize it.
Appreciate your patience—we’ll get back to you soon!
Hello, this seems to be a mismatch issue. Please make sure your Google Console is configured properly. This is a very common issue with Gmail setup and is most likely always a configuration problem.