fix redirect_uri

This commit is contained in:
Son NK 2019-07-07 23:12:53 +02:00
parent 8e9fefee4b
commit 4cdb803157

View file

@ -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")