Skip to content

Commit

Permalink
version 3.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
filmaj committed Feb 17, 2022
1 parent 8c7b9d2 commit 1778647
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 15 deletions.
3 changes: 2 additions & 1 deletion docs/assets/basic.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- basic theme.
*
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down Expand Up @@ -757,6 +757,7 @@ span.pre {
-ms-hyphens: none;
-webkit-hyphens: none;
hyphens: none;
white-space: nowrap;
}

div[class*="highlight-"] {
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/classic.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx stylesheet -- classic theme.
*
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
5 changes: 4 additions & 1 deletion docs/assets/doctools.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx JavaScript utilities for all documentation.
*
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down Expand Up @@ -264,6 +264,9 @@ var Documentation = {
hideSearchWords : function() {
$('#searchbox .highlight-link').fadeOut(300);
$('span.highlighted').removeClass('highlighted');
var url = new URL(window.location);
url.searchParams.delete('highlight');
window.history.replaceState({}, '', url);
},

/**
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/language_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* This script contains the language-specific data used by searchtools.js,
* namely the list of stopwords, stemmer, scorer and splitter.
*
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*
* Sphinx JavaScript utilities for the full-text search.
*
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Once the browser is closed the cookie is deleted and the position
* reset to the default (expanded).
*
* :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
* :copyright: Copyright 2007-2022 by the Sphinx team, see AUTHORS.
* :license: BSD, see LICENSE for details.
*
*/
Expand Down
16 changes: 8 additions & 8 deletions docs/oauth/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -447,14 +447,14 @@ <h2>Token Lookup<a class="headerlink" href="#token-lookup" title="Permalink to t
<h2>Sign in with Slack<a class="headerlink" href="#sign-in-with-slack" title="Permalink to this headline"></a></h2>
<p><a class="reference external" href="https://api.slack.com/authentication/sign-in-with-slack">Sign in with Slack</a> helps users log into your service using their Slack profile. The platform feature was recently upgraded to be compatible with the standard <a class="reference external" href="https://openid.net/connect/">OpenID Connect</a> specification. With slack-sdk v3.9+, implementing the auth flow is much easier.</p>
<p>When you create a new Slack app, set the following user scopes:</p>
<div class="highlight-yaml notranslate"><div class="highlight"><pre><span></span><span class="nt">oauth_config</span><span class="p">:</span>
<span class="nt">redirect_urls</span><span class="p">:</span>
<span class="p p-Indicator">-</span> <span class="l l-Scalar l-Scalar-Plain">https://{your-domain}/slack/oauth_redirect</span>
<span class="nt">scopes</span><span class="p">:</span>
<span class="nt">user</span><span class="p">:</span>
<span class="p p-Indicator">-</span> <span class="l l-Scalar l-Scalar-Plain">openid</span> <span class="c1"># required</span>
<span class="p p-Indicator">-</span> <span class="l l-Scalar l-Scalar-Plain">email</span> <span class="c1"># optional</span>
<span class="p p-Indicator">-</span> <span class="l l-Scalar l-Scalar-Plain">profile</span> <span class="c1"># optional</span>
<div class="highlight-yaml notranslate"><div class="highlight"><pre><span></span><span class="nt">oauth_config</span><span class="p">:</span><span class="w"></span>
<span class="w"> </span><span class="nt">redirect_urls</span><span class="p">:</span><span class="w"></span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">https://{your-domain}/slack/oauth_redirect</span><span class="w"></span>
<span class="w"> </span><span class="nt">scopes</span><span class="p">:</span><span class="w"></span>
<span class="w"> </span><span class="nt">user</span><span class="p">:</span><span class="w"></span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">openid</span><span class="w"> </span><span class="c1"># required</span><span class="w"></span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">email</span><span class="w"> </span><span class="c1"># optional</span><span class="w"></span>
<span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">profile</span><span class="w"> </span><span class="c1"># optional</span><span class="w"></span>
</pre></div>
</div>
<p>Check <a class="reference external" href="https://github.com/slackapi/python-slack-sdk/blob/main/integration_tests/samples/openid_connect/flask_example.py">the Flask app example</a> to learn how to implement your Web app that handles the OpenID Connect flow with end-users. It does the following:</p>
Expand Down
2 changes: 1 addition & 1 deletion slack_sdk/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Check the latest version at https://pypi.org/project/slack-sdk/"""
__version__ = "3.14.1"
__version__ = "3.15.0"

0 comments on commit 1778647

Please sign in to comment.