Sure, you can. You have to create a new version of your app and provide the additional scopes. Then you promote that version as the live version
Thank you @basdebruin ,
Will that automatically update the existing token permissions, for all the users which already installed the app? Or they will need to re-install the app, to get a new token with all permissions?
The permissions will not automatically update.
Your board/item/object views will display the following banner after the oauth scopes have changed:
An admin user will have to click on “Review permissions” and accept before the new functionality works.
Ensure that your code captures for graphql errors based on this and displays an appropriate (error) message.
One way to test this (before pushing to live) will be to remove the oauth scope from your “completed” feature and see how your app behaves, then adjust accordingly, before reapplying the new scope.
You can inform your current users in your changelog in your product documnetation, or an email, or in a popup in your product views.
No need to re-install the app for your users, but they need to update. Depending on the changes the update is fully automatic or triggered by an account admin though Avatar > Administration > Apps
Thank you @basdebruin and @dvdsmpsn !
Following @dvdsmpsn 's comment, I saw this Monday article specifying that we should get a banner regarding the permissions update:
Apps Framework
Our published app, has a replica private app - used for testing by our team. When I add new scopes for the private app, the users which have it installed already, does not get a banner saying new permissions are needed.
Is that normal? Will only a published / public apps will send a notification banner in case the scopes were updated?
Perhaps there may be some config which causing us not to see the banner, or anything like that?
Appreciate your help!
Hi @Imanuel, we also have the same question.
Can you please let us know that when you promoted your app’s new version to live with updated scopes, the token which you stored with previous scope got updated with the new scopes?