-
Notifications
You must be signed in to change notification settings - Fork 250
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
Fix a bug in the asyncio based token rotation support #503
Fix a bug in the asyncio based token rotation support #503
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing this! Can you revert the changes to the API documents? We'll update the API docs after releasing a new version.
@@ -237,7 +237,7 @@ <h1 class="title">Module <code>slack_bolt.authorization.async_authorize</code></ | |||
raise BoltError(self._config_error_message) | |||
refreshed = await self.token_rotator.perform_token_rotation( | |||
installation=installation, | |||
token_rotation_expiration_minutes=self.token_rotation_expiration_minutes, | |||
minutes_before_expiration=self.token_rotation_expiration_minutes, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'll update the document parts after releasing the next version. Can you revert these changes in this file?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, all done
Codecov Report
@@ Coverage Diff @@
## main #503 +/- ##
=======================================
Coverage 91.43% 91.43%
=======================================
Files 167 167
Lines 5535 5535
=======================================
Hits 5061 5061
Misses 474 474
Continue to review full report at Codecov.
|
Thank you very much for fixing this issue 🙇 As this is an obvious bug, your change will be included in the next patch version. |
The kwarg for
perform_token_rotation
needs changing to match the core slack sdkCategory
slack_bolt.async_app.AsyncApp
and/or its core componentsRequirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
./scripts/install_all_and_run_tests.sh
after making the changes.