When filling in details for my Slack app, I get Your application's redirect URL must return a status code of 302 to a slack.com url
error on the direct install URL field (using the install URL https://my-api-domain/slack/install
for the app):
I'm wondering if bolt-python
takes care of this case or is this something that a developer needs to take care of themselves? And is this direct URL necessary for my Slack app?
As per the documentation provided :
https://slack.dev/bolt-python/concepts#authenticating-oauth
Bolt for Python will also create a slack/install route, where you can find an Add to Slack button for your app to perform direct installs of your app. If you need any additional authorizations (user tokens) from users inside a team when your app is already installed or a reason to dynamically generate an install URL, you can pass your own custom URL generator to oauth_settings as authorize_url_generator.