-
Notifications
You must be signed in to change notification settings - Fork 273
Open
Description
From a discussion in #1324, the only safe way to call the client from outside a bolt handler when token rotation is on is to create a new client each time (as the handlers do)
Since Bolt is currently handling all of this for us, it'd be very useful to have a method along the lines of
client = await bolt.get_new_client(team_id)
that means callers do not need to deal with the InstallationStore
and such themselves.
Category (place an x
in each of the [ ]
)
- slack_bolt.App and/or its core components
- slack_bolt.async_app.AsyncApp and/or its core components
- Adapters in slack_bolt.adapter
- Others
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
mwbrooks