I'm now oauth verification for the Slides add-on by google apps script.
First, I use drive.readonly scope. OAuth Dev teams point use drive.file scope instead of drive.readonly.
So I rewrite my app from editor add-on to google workspace add-on.
It is very hard, http I/F to Card service.
Then I apply oauth verification, the teams replys this message.
Minimum Scope Requirement You requested the following sensitive scope(s):
Please review the following information to understand if the drive.file scope is a better fit for your application. If your request does not meet the eligibility requirements outlined below, we won’t be able to grant your request for restricted Drive APIs.
I confused and disapoint.My app is slides add-on, so I think, it is necessary presentations scope.
I read Slides API references, I know drive.file scope is use Slides Api, SpreadSheet Api, Documents APi.
Can Slides API use only drive.file scope
but it mean rewrite SlidesApp class's all methods and field. I think it is very nonsence. I reply. but teams reply is same.
Please teach me, slides add-on written by google apps script approved oauth verification use auth/presentations.
I'm now oauth verification for the Slides add-on by google apps script.
First, I use drive.readonly scope. OAuth Dev teams point use drive.file scope instead of drive.readonly.
So I rewrite my app from editor add-on to google workspace add-on.
It is very hard, http I/F to Card service.
Then I apply oauth verification, the teams replys this message.
Minimum Scope Requirement You requested the following sensitive scope(s):
https://www.googleapis/auth/presentations Please review the following information to understand if the drive.file scope is a better fit for your application. If your request does not meet the eligibility requirements outlined below, we won’t be able to grant your request for restricted Drive APIs.
I confused and disapoint.My app is slides add-on, so I think, it is necessary presentations scope.
I read Slides API references, I know drive.file scope is use Slides Api, SpreadSheet Api, Documents APi.
Can Slides API use only drive.file scope
but it mean rewrite SlidesApp class's all methods and field. I think it is very nonsence. I reply. but teams reply is same.
Please teach me, slides add-on written by google apps script approved oauth verification use auth/presentations.
Share Improve this question edited Mar 13 at 8:40 Toshiyuki Kawashima asked Mar 13 at 8:25 Toshiyuki KawashimaToshiyuki Kawashima 51 silver badge2 bronze badges 4 |1 Answer
Reset to default 0Unfortunately, This feature is not available. You maybe able to access
current presentation using inbuilt methods with scope:
https://www.googleapis/auth/presentations.currentonly
To create new presentations, using
drive.file
scope, you should use the REST API usingUrlFetchApp
:https://github/googleworkspace/apps-script-oauth2/tree/main/samples/NoLibrary
https://developers.google/slides/api/reference/rest/v1/presentations/create
Related issue tracker: https://issuetracker.google/issues/112272756
You can create a new bug report or a feature request about this in the issue tracker.
https://www.googleapis/auth/presentations.currentonly
? If you're not accessing any other presentation, this should work. – TheMaster Commented Mar 13 at 9:20