My app pulls info from my users’ Google Calendars.
The users already have to login to my app, so they find it annoying that they have to “Grant Access” to their google account at least once per session (currently using OAuth).
Is there a way to get a permanent (or closer to it) grant?
I’m even open to using openID as my primary authentication. Would that help?
I believe the GData API offers a ClientLogin protocol which would require me to store the users’ login info, and I’m not comfortable with that, although if it comes down to it I suppose it’s better than the alternative.
oAuth tokens generated once do not expire EVER unless user/application themselves revoke them. Just grab the access token and access secret token once for the first time when user registers on your app. Store it locally and use it to query the GDATA Api whenever you need.
You need not request the access tokens everytime when users log in again.