-
Notifications
You must be signed in to change notification settings - Fork 398
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically invoke the InstallationStore's deleteInstallation function for relevant events #1203
Comments
FYI, we've already implemented this in bolt-python and bolt-java this way: |
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized. |
Excited for this change for the js sdk! |
Hey, thank you for this issue. I have a question until this gets implemented, how am I suppose to call Currently, I use the app.event('app_uninstalled', async ({ event, logger, context }) => {
try {
await database.doc(context.enterpriseId || context.teamId).delete()
}
catch (error) {
logger.error(error);
}
}); I don't use my Thank you very much |
@ElMatella I would suggest implementing the deleteInstallation method for easier migration when the built-in handlers are released. You can check the type definitions related to the method signature below: |
Hey, thank you for your response. So, I was just wondering, how can I access the In bolt, I should be able to access the |
If your app is removed from the entire enterprise grid organization, the event payload should have only enterprise_id. If the app is removed only from a specific workspace under an enterprise grid org, the payload should have both enterprise_id and team_id. |
Is this still active or will be active in the future? |
Hey, can I check if this is already implemented on bolt-js? |
👋 It looks like this issue has been open for 30 days with no activity. We'll mark this as stale for now, and wait 10 days for an update or for further comment before closing this issue out. If you think this issue needs to be prioritized, please comment to get the thread going again! Maintainers also review issues marked as stale on a regular basis and comment or adjust status if the issue needs to be reprioritized. |
As this issue has been inactive for more than one month, we will be closing it. Thank you to all the participants! If you would like to raise a related issue, please create a new issue which includes your specific details and references this issue number. |
Description
Currently,
deleteInstallation
of a developer-providedInstallationStore
must be invoked manually. It would be more intuitive behavior to have it invoked automatically when theapp_uninstalled
andtoken_revoked
events are received.Aside from a couple of community members raising questions around this (#1201, #1112), it's my understanding that the Java and Python implementations already support this.
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)The text was updated successfully, but these errors were encountered: