diff --git a/admin_panel/admin_panel/settings/production.example.py b/admin_panel/admin_panel/settings/production.example.py index 429eb44d..33ab8737 100644 --- a/admin_panel/admin_panel/settings/production.example.py +++ b/admin_panel/admin_panel/settings/production.example.py @@ -5,6 +5,9 @@ DEBUG = False +# Force python-social-auth (Discord OAuth2) to use https redirection +SOCIAL_AUTH_REDIRECT_IS_HTTPS = True + # Generate a long random string here for your secret key. It is important to keep it secret, # leaking it could allow attackers to do privilege escalation. # A good way to generate a long key is to run "pwgen 64 1" on Linux