Search code examples
google-apps-marketplace

Migration of Google Apps Marketplace app to oAuth 2.0 with additional scopes


We have app using oauth 1.0 in old marketplace. We are in process of migrating to oauth 2.0 for new marketplace. We are using UpgradeableApp API to do migration for existing domains. I am following steps specified here : https://developers.google.com/apps-marketplace/v1migratev2

As mentioned in the prerequisites in the above link: The scopes for the new and old apps must be compatible. But our new app has some additional scopes. Is there any way to grant access to these additional scopes while doing migration.


Solution

  • Only domain's admin or users can approve additional scopes.

    Domain's admin receives an email notification after upgrade.

    In your oauth2.0 app you can detect if all scopes have been approved or not. If not, you can show the user appropriate message to contact domain admin to get scopes approved.