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.com/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.
Unfortunately, This feature is not available. You maybe able to access
current presentation using inbuilt methods with scope: https://www.googleapis.com/auth/presentations.currentonly
To create new presentations, using drive.file
scope, you should use the REST API using UrlFetchApp
:
Related issue tracker: https://issuetracker.google.com/issues/112272756
You can create a new bug report or a feature request about this in the issue tracker.