forked from rDrama/rDrama
vcx
parent
5bf2efa01d
commit
42a7ff8a72
|
@ -56,7 +56,7 @@ def discord_redirect(v):
|
||||||
'client_secret': CLIENT_SECRET,
|
'client_secret': CLIENT_SECRET,
|
||||||
'grant_type': 'authorization_code',
|
'grant_type': 'authorization_code',
|
||||||
'code': code,
|
'code': code,
|
||||||
'redirect_uri': f"{request.host_url}discord_redirect",
|
'redirect_uri': f"https://{app.config['SERVER_NAME']}/discord_redirect",
|
||||||
'scope': 'identify guilds.join'
|
'scope': 'identify guilds.join'
|
||||||
}
|
}
|
||||||
headers={
|
headers={
|
||||||
|
|
Loading…
Reference in New Issue