From bc3550b0ff9959cd44702e6e98a5df43a3f52254 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Fri, 3 Oct 2014 00:14:59 +0200 Subject: another big dump. github oauth authentiation is "working" But it's done really hackily and probably should never be done like this. --- config.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'config.py') 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' -- cgit v1.2.3-54-g00ecf