- Is there any way to get access to saving files on the user’s Google Drive without interaction with the user (Without using OAuth 2.0)?
- Can I use Cloud Function as a redirect URL in OAuth 2.0 to get access & refresh tokens from the returned code by Google?
I need to get the user’s permission to save files on his drive. Users interact with the Google Chat app. Being more precise with Dialogflow CX Integration of Google Chat. I’ve not found any methods in Google Chat API to get user permissions or the user’s profile to proceed with saving files on his drive.
NOTE: I do not have any web page or other kind of resource except Dialogflow CX and Cloud Functions.