diff --git a/front/package.json b/front/package.json
index 8037fb0a6c8407c22e6da5fa48c986ba721f63e1..5dcd04691c86879891b33861baa54c2cae5d005e 100644
--- a/front/package.json
+++ b/front/package.json
@@ -17,7 +17,7 @@
   },
   "dependencies": {
     "axios": "0.26.0",
-    "axios-auth-refresh": "2.2.8",
+    "axios-auth-refresh": "^3.2.2",
     "diff": "5.0.0",
     "django-channels": "2.1.3",
     "focus-trap": "6.7.3",
diff --git a/front/src/main.js b/front/src/main.js
index ea98465ca8cdb847b8412a714b048f62445c3ba1..92f67b5ce8b483ce0f22c5f3896001b2bc6c6127 100644
--- a/front/src/main.js
+++ b/front/src/main.js
@@ -13,7 +13,7 @@ import store from './store'
 import GetTextPlugin from 'vue-gettext'
 import { sync } from 'vuex-router-sync'
 import locales from '@/locales'
-import axiosAuthRefresh from 'axios-auth-refresh'
+import createAuthRefreshInterceptor from 'axios-auth-refresh'
 
 import filters from '@/filters' // eslint-disable-line
 import { parseAPIErrors } from '@/utils'
@@ -158,13 +158,6 @@ const refreshAuth = (failedRequest) => {
   }
 }
 
-// TODO: This seems like a vite error, in production it thinks that
-//       axiosAuthRefresh is a following object: { default () { /* ... */} }
-//       Maybe we need to tweak the config?
-const createAuthRefreshInterceptor = import.meta.env.DEV
-  ? axiosAuthRefresh
-  : axiosAuthRefresh.default
-
 createAuthRefreshInterceptor(axios, refreshAuth)
 
 store.dispatch('instance/fetchFrontSettings').finally(() => {
diff --git a/front/vite.config.js b/front/vite.config.js
index 232cfe4556ee54a14a2811f07f68769829b2f6a3..ee3ded92931518411026dbd0577c9bb30dcc05cd 100644
--- a/front/vite.config.js
+++ b/front/vite.config.js
@@ -26,9 +26,6 @@ export default defineConfig({
       }
     }
   ],
-  build: {
-    transformMixedEsModules: true
-  },
   resolve: {
     alias: {
       "@": path.resolve(__dirname, "./src"),
diff --git a/front/yarn.lock b/front/yarn.lock
index 8f8dea3dddec7173e97df3724abc57aadf989bee..cb90b47d2e8f517e6bb708331d26a2fa3b9bb27d 100644
--- a/front/yarn.lock
+++ b/front/yarn.lock
@@ -724,10 +724,10 @@ autoprefixer@^10.4.2:
     picocolors "^1.0.0"
     postcss-value-parser "^4.2.0"
 
-axios-auth-refresh@2.2.8:
-  version "2.2.8"
-  resolved "https://registry.yarnpkg.com/axios-auth-refresh/-/axios-auth-refresh-2.2.8.tgz#de420b6b5d6efdb4ad3666e44c38960a9b08f382"
-  integrity sha512-WR59uCgO9VppC9VQU6vtszrAHnF3RtylkGltOGldfB4Rw+my0j9WdJuvRzMwiwTh+LmG/SQWzgeCfFYf8N4FIA==
+axios-auth-refresh@^3.2.2:
+  version "3.2.2"
+  resolved "https://registry.yarnpkg.com/axios-auth-refresh/-/axios-auth-refresh-3.2.2.tgz#e3ef505932d33318c74c2ffce04c0fdc9767ffe0"
+  integrity sha512-Ocu8leYhuhNejH/RBC0tWpUuv0cOplvdwltIQuYmkhihbZ8AqR0qPIZs+fV5V3JL6L5IM4Y5rjHgXyQWozjM7g==
 
 axios@0.26.0:
   version "0.26.0"