From 4cdb8031575b326bd91b2049211bbf60b1ad8fa8 Mon Sep 17 00:00:00 2001 From: Son NK Date: Sun, 7 Jul 2019 23:12:53 +0200 Subject: [PATCH] fix redirect_uri --- app/auth/views/github.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/auth/views/github.py b/app/auth/views/github.py index c3ebcfc2..23031c7d 100644 --- a/app/auth/views/github.py +++ b/app/auth/views/github.py @@ -16,7 +16,7 @@ token_url = "https://github.com/login/oauth/access_token" # need to set explicitly redirect_uri instead of leaving the lib to pre-fill redirect_uri # when served behind nginx, the redirect_uri is localhost... and not the real url -redirect_uri = URL + "/github/callback" +redirect_uri = URL + "/auth/github/callback" @auth_bp.route("/github/login")