-
Notifications
You must be signed in to change notification settings - Fork 849
Add the browser version link in redirect_uri web page #963
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
Conversation
| <body> | ||
| <h2>Thank you!</h2> | ||
| <p>Redirecting to the Slack App... click <a href="{url}">here</a></p> | ||
| <p>Redirecting to the Slack App... click <a href="{url}">here</a>. If you use the browser version of Slack, click <a href="{browser_url}" target="_blank">this link</a> instead.</p> |
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.
This is the only change affecting users. I would like to know better sentences for this if you have suggestions.
| app = Flask(__name__) | ||
| app.debug = True | ||
|
|
||
| import logging |
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.
this was just broken when I updated a few days ago 🤦
| scopes=scopes, | ||
| user_scopes=user_scopes, | ||
| ) | ||
| redirect_page_renderer = RedirectUriPageRenderer( |
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.
Updated the samples to use the renderer and I've verified the behavior with these two example apps.
9478b17 to
9b44e8d
Compare
Codecov Report
@@ Coverage Diff @@
## main #963 +/- ##
==========================================
- Coverage 87.34% 87.33% -0.02%
==========================================
Files 94 94
Lines 8521 8522 +1
==========================================
Hits 7443 7443
- Misses 1078 1079 +1
Continue to review full report at Codecov.
|
Summary
This pull request improves the default HTML page for successful Slack app installation. I got a feedback from a customer, saying the person uses only the browser version of Slack and the
slack://deep link navigation does not work for me at all. As this is a common use case, I see rooms for improvement on this feature.We may want to apply the same (or similar) change to
@slack/oauthnpm package and the Java SDK's default behavior.Category (place an
xin each of the[ ])/docs-src(Documents, have you run./docs.sh?)/docs-src-v2(Documents, have you run./docs-v2.sh?)/tutorial(PythOnBoardingBot tutorial)tests/integration_tests(Automated tests for this library)Requirements (place an
xin each[ ])python setup.py validateafter making the changes.