diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-03 00:14:59 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-03 00:14:59 +0200 |
commit | bc3550b0ff9959cd44702e6e98a5df43a3f52254 (patch) | |
tree | ee5f1ecc9164d8ef14d1352b1378f2cf230df03d /config.py | |
parent | fb217ca2658c25f4df0a9b9b471ad85c608377a9 (diff) | |
download | tbt-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.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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' |