Allow using Google API in Web applications from localhost

While most scenarios in Google Drive API doc and samples tells to run the sample app on a server, it is actually possible to run from localhost as long as the javascript origin is properly added:

Make sure you have created a new client id for web applications such as:

Client ID for web application
Client secretXxxxxXXXxxxxxx
Redirect URIsnone
Javascript Origins
For example for dart applications:


Popular posts from this blog

Simple Samba setup on Lubuntu

Soving AccessDenied on Google Cloud Storage domain mapping

USB Foot Switch II - "Usb HIDKB Not connected"