summaryrefslogtreecommitdiffstats
path: root/config.py
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-10-03 00:14:59 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2014-10-03 00:14:59 +0200
commitbc3550b0ff9959cd44702e6e98a5df43a3f52254 (patch)
treeee5f1ecc9164d8ef14d1352b1378f2cf230df03d /config.py
parentfb217ca2658c25f4df0a9b9b471ad85c608377a9 (diff)
downloadtbt-bc3550b0ff9959cd44702e6e98a5df43a3f52254.tar.xz
another big dump. github oauth authentiation is "working"
But it's done really hackily and probably should never be done like this.
Diffstat (limited to 'config.py')
-rw-r--r--config.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.py b/config.py
index 7160e5d..f27b5fc 100644
--- a/config.py
+++ b/config.py
@@ -4,3 +4,9 @@ basedir = os.path.abspath(os.path.dirname(__file__))
SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'app.db')
SQLALCHEMY_MIGRATE_REPO = os.path.join(basedir, 'db_repository')
+
+TOKEN_URL = 'https://github.com/login/oauth/access_token'
+AUTHORIZATION_BASE_URL = 'https://github.com/login/oauth/authorize'
+
+GITHUB_CLIENT_ID = 'SEEKRIT'
+GITHUB_CLIENT_SECRET = 'SEEKRIT'