Skip to content

Commit

Permalink
Adding trello settings for authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianZaremba committed Sep 12, 2012
1 parent 7de3c03 commit 11176fd
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/quickstart/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,14 @@ the following::
For more information on configuring social authentication services, consult the `documentation on django-social-auth
<https://github.com/omab/django-social-auth/>`_.

Trello
~~~~~~

Generate an application key at https://trello.com/1/appKey/generate. Take the values given on the page, and configure
the following::

TRELLO_API_KEY = ''
TRELLO_API_SECRET = ''

What's Next?
------------
Expand Down
1 change: 1 addition & 0 deletions src/sentry/conf/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,5 @@
'facebook': ('FACEBOOK_APP_ID', 'FACEBOOK_API_SECRET'),
'github': ('GITHUB_APP_ID', 'GITHUB_API_SECRET'),
'google': ('GOOGLE_OAUTH2_CLIENT_ID', 'GOOGLE_OAUTH2_CLIENT_SECRET'),
'trello': ('TRELLO_API_KEY', 'TRELLO_API_SECRET'),
}
3 changes: 3 additions & 0 deletions src/sentry/conf/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,9 @@
GITHUB_APP_ID = ''
GITHUB_API_SECRET = ''

TRELLO_API_KEY = ''
TRELLO_API_SECRET = ''

SOCIAL_AUTH_CREATE_USERS = True

import random
Expand Down
4 changes: 4 additions & 0 deletions src/sentry/utils/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@
# https://github.com/settings/applications/new
GITHUB_APP_ID = ''
GITHUB_API_SECRET = ''
# https://trello.com/1/appKey/generate
TRELLO_API_KEY = ''
TRELLO_API_SECRET = ''
"""


Expand Down

0 comments on commit 11176fd

Please sign in to comment.