diff options
author | 2018-03-29 10:03:17 +0100 | |
---|---|---|
committer | 2018-03-29 10:03:17 +0100 | |
commit | 0d0a22b1931c5bbe24f1f620f4e5a60475997d16 (patch) | |
tree | 6759ac59b6120cfb29f6a015cf280432a6a5de52 /pysite/constants.py | |
parent | Merge remote-tracking branch 'origin/master' (diff) |
OAuth fixes
Diffstat (limited to 'pysite/constants.py')
-rw-r--r-- | pysite/constants.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pysite/constants.py b/pysite/constants.py index 7df4674e..03b660d6 100644 --- a/pysite/constants.py +++ b/pysite/constants.py @@ -27,7 +27,7 @@ SERVER_ID = 267624335836053506 DISCORD_API_ENDPOINT = "https://discordapp.com/api" DISCORD_OAUTH_REDIRECT = "/auth/discord" -DISCORD_OAUTH_AUTHORIZED = "/auth/discord/authorized" +DISCORD_OAUTH_AUTHORIZED = environ.get("DISCORD_OAUTH_AUTHORIZED", "https://pythondiscord.com/auth/discord/authorized") DISCORD_OAUTH_ID = environ.get('DISCORD_OAUTH_ID', '') DISCORD_OAUTH_SECRET = environ.get('DISCORD_OAUTH_SECRET', '') DISCORD_OAUTH_SCOPE = 'identify email guilds.join' |