Is there a way to send HTML content to a new Google Doc without credentials for authorization/authentication?
In my ASP.NET app, the user creates formatted HTML content using a tinyMCE text editor. I would like to allow the user to send that content to a new Google Doc via JavaScript function.
Is this possible without knowing the user's Google Drive credentials?
Is this possible without knowing the user's Google Drive credentials?
Unfortunately no, this is not possible to do.
Creating a Google Doc requires you use the documents.create
endpoint of the Google Docs API. As you can see from the documentation page, it requires one of the following OAuth scopes:
Using these scopes requires a user to log in with their Google account, and as such calling this method without knowing a user's credentials, is not possible.