a-marenkov / gsheets

A Dart library for working with Google Sheets API.
Other
82 stars 31 forks source link

How to get the AutoRefreshingAuthClient without using any ServiceAccount ? #82

Open kisrar opened 2 years ago

kisrar commented 2 years ago

I need an AutoRefreshingAuthClient to use gsheet to play with authenticated users Google Sheet. I can get AuthClient using google_sign_in package.

So, How can I get AutoRefreshingAuthClient from AuthClient in a flutter application without any service account?

The reason I don't want to use a Service Account is, If I use a Service Account, all files are saved into this Service Account. But, I want to read, write and use Google Sheet from the authenticated user's account.

a-marenkov commented 1 year ago

Hi @kisrar

I have never tried to do that and don't know if it's possible

Did you have any success with that?