Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Realtime API without Google Authentication

I am a bit confused about the Google Drive Realtime API. I'm trying to build a whiteboard like app where users can collaborate in real-time. I figured Google's Realtime API would be perfect for this.

While the Realtime API can accomplish what I want to accomplish, do my users have to authenticate with their Google account to create a real-time document with my app? Do these documents created from my app have to be saved in their Google drive?

I was on a website called Realtimeboard.com. Their interface looks exactly like Google Drive. However, I did not have to login to my Google account to create a real-time collaborative document. Also when I create a real-time collaborative document using this app, the document is not stored in my Google Drive (obviously because I am not authenticated). Does that mean that they are not using the Google Drive Realtime API?

like image 206
Sameer Anand Avatar asked Apr 04 '15 02:04

Sameer Anand


People also ask

How can I use Google API without OAuth?

By setting up your app with the proper credentials, the service account or “user” that your server imitates maintains a cycle of verification, thus allowing you to make use of the API. To get started, you'll need to get the appropriate credentials from Google. Open a new project in the Google Developer Console.

Is Google OAuth 2.0 free?

It is not free.

Does Gmail require OAuth?

All requests to the Gmail API must be authorized by an authenticated user. Gmail uses the OAuth 2.0 protocol for authenticating a Google account and authorizing access to user data. You can also use Google Sign-in to provide a "sign-in with Google" authentication method for your app.


1 Answers

To enable collaboration documents are saved in Google Drive, so all users must have Google accounts. See this page for details on the Drive integration: https://developers.google.com/drive/realtime/drive

like image 173
Cheryl Simon Avatar answered Oct 05 '22 02:10

Cheryl Simon