I have written a tool that uploads images, as part of a wider process, to sites such as imgur and imgbb. Users of my tool create their own account on these image hosting platforms and enter an API key into my application to enable this. My tool generates images, pushes them to the image host and captures the resulting URL somewhere.
I would like to do the same for google drive. My tool is written in Java.
However I am struggling to understand the credentials options. I'm looking for the simplest approach where a user can generate some 'credentials' within their google drive account and enter them into a UI of my tool, which would enable it to upload images files to their google drive.
This API call here https://developers.google.com/drive/api/guides/manage-uploads looks pretty simple to upload a single file, but it leaves out any mention of authentication/authorization.
Can someone provide any insights or point to an example of how a not-particularly-technical-user can supply credentials to my tool to allow it to upload?
Thanks.