mirror of
https://github.com/simple-login/app.git
synced 2024-11-10 17:35:27 +08:00
fix redirect_uri
This commit is contained in:
parent
8e9fefee4b
commit
4cdb803157
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue