diff --git a/lib/middleware/proxy.js b/lib/middleware/proxy.js
index <HASH>..<HASH> 100644
--- a/lib/middleware/proxy.js
+++ b/lib/middleware/proxy.js
@@ -34,7 +34,8 @@ function create(options) {
         target: server,
         secure: false,
         cookieDomainRewrite: '',
-        changeOrigin: true
+        changeOrigin: true,
+        autoRewrite: true
     });
 
     proxy.on("proxyRes", handleBinaryStream);
enable autoRewrite for proxy configuration

this is needed to run appserver in front of App Suite MW with oidc configured.
Otherwise there will be redirects to the original server in use after
successful logins.