Make my app silently login to default predefined google drive account instead of asking users account

761 views Asked by At

thanks for reading!

So I recently got some good ideas but my knowledge just isn't enough here. Even though my google-ing should be top notch I could't find anything about this.

I want the user to take a picture of something, upload the image to google drive, and download it as .txt file, so I would like to do an OCR. Making all the users give me their google drive access is not what I want. I want to have one dedicated google drive, where they automatically log into when the app starts, upload and download the stuff from that one same google drive account for everyone. The problem is that I can't really figure out how to do that. I'm quite new to API-s as well.

1

There are 1 answers

2
pinoyyid On BEST ANSWER

The scenario you describe is best achieved using a Service Account. See https://developers.google.com/identity/protocols/OAuth2ServiceAccount