Remove /login from discord login process

This commit is contained in:
2024-05-09 22:51:40 +02:00
parent 075e22c034
commit 6e2a659775
+1 -1
View File
@@ -13,7 +13,7 @@ def discord_process_code(code: str) -> dict | None:
"client_secret": os.environ["DISCORD_CLIENTSECRET"], "client_secret": os.environ["DISCORD_CLIENTSECRET"],
"code": code, "code": code,
"grant_type": "authorization_code", "grant_type": "authorization_code",
"redirect_uri": os.environ["FRONTEND_ENDPOINT"] + "/login", "redirect_uri": os.environ["FRONTEND_ENDPOINT"],
"scope": "identify", "scope": "identify",
}, },
timeout=10, timeout=10,