mirror of
https://github.com/simple-login/app.git
synced 2025-10-22 05:09:33 +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
|
# 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
|
# 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")
|
@auth_bp.route("/github/login")
|
||||||
|
|
Loading…
Add table
Reference in a new issue