How to check which App's scopes have been granted access and which not -
this working scenario: have created , published app on google apps marketplace / chrome web store. let's users did install app on own domains , using app. when installed app on domains granted data access scopes declared app, example scopes , b.
now let's went on improving our app adding new feature , released it. new feature requires add scope c app configuration. let's add scope c , save new configuration.
for users have installed app, scope c "new" , needs granted access, while , b granted.
now need find way notify users need grant access newly added scope before going on using app (otherwise end users may incur in issues).
the question is: is there way programmatically detect specific domain installation of our app scopes have been granted access , ones not?
assuming have access token can use oauth2.tokeninfo() determine scopes given token for.
Comments
Post a Comment