google api development - rtCamp/Frappe-Manager GitHub Wiki

Develop Apps Using Google API

When developing apps that utilize Google API, there's an important consideration regarding redirect URIs:

Issue

Subdomains of localhost, like example.localhost, are not supported as a redirect URI in Google Cloud.

Solution

  1. Use localhost as the redirect URI in Google Cloud
  2. Run the following command in the sites directory relative to the root of the Bench environment:
ln -sfn <replace-with-current-sitename.localhost> localhost
⚠️ **GitHub.com Fallback** ⚠️