metakgp / gyft

Get Your Freaking Timetable
https://gyft.metakgp.org
MIT License
56 stars 57 forks source link

Added in flags required by OAuth2 Client when adding/deleting events in Google Calendar #104

Closed Devansh-bit closed 1 year ago

Devansh-bit commented 1 year ago

Added in flags needed by the oauth2 client, in case we need them for future use.

ashwinpra commented 1 year ago

This is from the official documentation of oauth2client.tools:

image

So it turns out that they have already defined those flags by default, if you don't provide flags from your side, and I don't think any of those flags would have to be modified by us, so I suggest removing the flags argument altogether.

So you would just have to do credentials = tools.run_flow(flow, store)