Skip to content

Commit a52f936

Browse files
authored
Remove more oauth references (#8)
* Removed OAuth from Events API demo app * Updated README to reflect single team app install flow * Updated image * Removed rst image size tags, since github ignores them * Resized images * Removed OAuth references
1 parent 8056ad8 commit a52f936

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

README.rst

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ user has authorized your app.
6060
⚠️ We strongly discourage using ngrok for
6161
anything but development. It’s not well-suited for production use.
6262

63-
💡 See the example app included in this repository for more information
64-
on implementing OAuth.
65-
6663
🤖 Usage
6764
-----
6865
**⚠️ Keep your app's credentials safe!**
@@ -107,7 +104,7 @@ For a comprehensive list of available Slack `Events` and more information on
107104
🤖 Examples
108105
--------
109106

110-
See `example.py`_ for usage examples. This example also utilizes OAuth and the
107+
See `example.py`_ for usage examples. This example also utilizes the
111108
SlackClient Web API client.
112109

113110
.. _example.py: /example/

example/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Example Slack events API bot
22
=============================
33

44
This example app shows how easy it is to implement the Slack Events API Adapter
5-
to receive Slack Events, extend it to handle the OAuth flow and respond to
5+
to receive Slack Events and respond to
66
messages using Slack's Web API via python-slackclient.
77

88
🤖 Setup and running the app

example/example.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,12 @@
1111
SLACK_VERIFICATION_TOKEN = os.environ["SLACK_VERIFICATION_TOKEN"]
1212
slack_events_adapter = SlackEventAdapter(SLACK_VERIFICATION_TOKEN, "/slack/events")
1313

14-
# Slack App credentials for OAuth
14+
# Slack bot user credentials
1515
SLACK_BOT_TOKEN = os.environ["SLACK_BOT_TOKEN"]
1616

1717
# Create a SlackClient for your bot to use for Web API requests
1818
CLIENT = SlackClient(SLACK_BOT_TOKEN)
1919

20-
2120
# Example responder to greetings
2221
@slack_events_adapter.on("message")
2322
def handle_message(event_data):

0 commit comments

Comments
 (0)