Skip to content

google api development

Alok Singh edited this page Apr 3, 2025 · 1 revision

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

Clone this wiki locally