diff --git a/site_campagne/campagne/__pycache__/views.cpython-310.pyc b/site_campagne/campagne/__pycache__/views.cpython-310.pyc
index c5ee19939a6eb7c3866c5878dfb42bb5369d9fd8..2977b8d62046c3f9857809a894280bfa6694ab72 100644
Binary files a/site_campagne/campagne/__pycache__/views.cpython-310.pyc and b/site_campagne/campagne/__pycache__/views.cpython-310.pyc differ
diff --git a/site_campagne/campagne/static/campagne/js/hotline.js b/site_campagne/campagne/static/campagne/js/hotline.js
index 717bb8f040be8af5838dc5cfe44e8735ce76a0bb..8aaecb1903c58dfdeaa09695649463cadfe2021f 100644
--- a/site_campagne/campagne/static/campagne/js/hotline.js
+++ b/site_campagne/campagne/static/campagne/js/hotline.js
@@ -70,7 +70,7 @@ function f (){
             paraph.classList.add("text_box");
         }
         if (adresse!=="" && somme >0 && somme <= 40 ){
-            window.location = "http://localhost:8000/mes_commandes/"+nature+"_"+nutella+"_"+sucre+"_"+fraise+"_"+abricot+"_"+adresse+"_";
+            window.location = "https://astegifetobegif.cs-campus.fr/mes_commandes/"+nature+"_"+nutella+"_"+sucre+"_"+fraise+"_"+abricot+"_"+adresse+"_";
         }
     }
 }
diff --git a/site_campagne/campagne/views.py b/site_campagne/campagne/views.py
index f764aadd6806615123d4c3786695d19e90275a99..7086123a0d69f1f4cbcf8f5229109444ab4c379f 100644
--- a/site_campagne/campagne/views.py
+++ b/site_campagne/campagne/views.py
@@ -28,13 +28,13 @@ def decryptmess(message):
 
 
 def connexion(request):
-    return HttpResponseRedirect('https://auth.viarezo.fr/oauth/authorize/?redirect_uri=http://localhost:8000&client_id=2fe828e15647fc92437727b6646ce5c799c40991&response_type=code&state=sqdkfjhsqdkf&scope=default')
+    return HttpResponseRedirect('https://auth.viarezo.fr/oauth/authorize/?redirect_uri=https://astegifetobegif.cs-campus.fr/intermediaire&client_id=2fe828e15647fc92437727b6646ce5c799c40991&response_type=code&state=sqdkfjhsqdkf&scope=default')
 
 def login(request): #on a le state et le authorization code dans le request
     code = str(request.GET['code']),
     state = str(request.GET['state'])
     url = 'https://auth.viarezo.fr/oauth/token'
-    redirect_url = 'http://localhost:8000'
+    redirect_url = 'https://astegifetobegif.cs-campus.fr/intermediaire'
     jso = requests.post(url, data={'grant_type':'authorization_code','code':code,'redirect_uri':redirect_url,'client_id':'2fe828e15647fc92437727b6646ce5c799c40991','client_secret':'f306614fc96833e80af693f2991901bc54a9cf9a'}).json()
     access_token = jso['access_token']
     r = requests.get("https://auth.viarezo.fr/api/user/show/me", headers={"Authorization" : "Bearer "+access_token})
diff --git a/site_campagne/site_campagne/__pycache__/settings.cpython-310.pyc b/site_campagne/site_campagne/__pycache__/settings.cpython-310.pyc
index e68672305e49da91aec32466ac5a98960af643db..5fd6e62ff66ff332463d83101b6d8145e2ca2255 100644
Binary files a/site_campagne/site_campagne/__pycache__/settings.cpython-310.pyc and b/site_campagne/site_campagne/__pycache__/settings.cpython-310.pyc differ
diff --git a/site_campagne/site_campagne/settings.py b/site_campagne/site_campagne/settings.py
index ac8f4785877385c17b5abcc989d9fc187def739f..5b4ba96d7dbfbd27d58666bf2c107941ca581e1c 100644
--- a/site_campagne/site_campagne/settings.py
+++ b/site_campagne/site_campagne/settings.py
@@ -24,7 +24,7 @@ SECRET_KEY = 'django-insecure-^pwp$p=!_g7hoyl&1kul+!v(!y9lu+6@-+1d_&auub18m^h@w(
 
 # SECURITY WARNING: don't run with debug turned on in production!
 
-DEBUG = True
+DEBUG = False
 
 
 ALLOWED_HOSTS = ["138.195.139.213", "localhost", "astegifetobegif.cs-campus.fr", "*"]