Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions slack_bolt/app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,9 @@ def message_hello(message, say):
)
if self._authorize is None:
self._authorize = self._oauth_flow.settings.authorize
self._authorize.token_rotation_expiration_minutes = (
oauth_settings.token_rotation_expiration_minutes
)

if (
self._installation_store is not None or self._authorize is not None
Expand Down
3 changes: 3 additions & 0 deletions slack_bolt/app/async_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ async def message_hello(message, say): # async function
)
if self._async_authorize is None:
self._async_authorize = self._async_oauth_flow.settings.authorize
self._async_authorize.token_rotation_expiration_minutes = (
oauth_settings.token_rotation_expiration_minutes
)

if (
self._async_installation_store is not None
Expand Down