Can I access google drive api using ng-gapi ?
Alec-Aldrine-Lakra opened this issue · comments
Yes you can , just use ng-gapi to generate a token and simply use the google drive api https://developers.google.com/drive/api/v3/about-sdk
I am able to generate the token after authenticating but then I also want to generate the refresh token . How do I get refresh token ?
const instance = gapi.auth2.getAuthInstance()
authInstance.grantOfflineAccess() // returns promise with code - the token
https://developers.google.com/identity/sign-in/web/reference#googleauthgrantofflineaccessoptions
Inactivity