[Python-modules-commits] [python-social-auth] 64/322: Documentation for slack backend

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:12:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.10
in repository python-social-auth.

commit 6c1743c121e7cde45fa214219127fd148a732ea2
Author: Nick Sullivan <nick at sullivanflock.com>
Date:   Sun Dec 28 21:30:04 2014 -0700

    Documentation for slack backend
---
 docs/backends/slack.rst | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/docs/backends/slack.rst b/docs/backends/slack.rst
new file mode 100644
index 0000000..5c4be27
--- /dev/null
+++ b/docs/backends/slack.rst
@@ -0,0 +1,19 @@
+Slack
+======
+
+Slack
+
+- Register a new application at `https://api.slack.com/applications`_, set the callback URL to
+  ``http://example.com/complete/slack/`` replacing ``example.com`` with your
+  domain.
+
+- Fill ``Client ID`` and ``Client Secret`` values in the settings::
+
+      SOCIAL_AUTH_SLACK_KEY = ''
+      SOCIAL_AUTH_SLACK_SECRET = ''
+
+- Also it's possible to define extra permissions with::
+
+      SOCIAL_AUTH_SLACK_SCOPE = [...]
+
+      See auth scopes at https://api.slack.com/docs/oauth

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list