diff --git a/library/PHPIMS/FrontController.php b/library/PHPIMS/FrontController.php
index <HASH>..<HASH> 100644
--- a/library/PHPIMS/FrontController.php
+++ b/library/PHPIMS/FrontController.php
@@ -138,8 +138,10 @@ class FrontController {
         if ($operation === null) {
             throw new Exception('Unsupported operation', 400);
         }
-
-        return Operation::factory($operation, $this->config['database'], $this->config['storage'], $resource, $method, $imageIdentifier);
+        
+        $operation = Operation::factory($operation, $this->config['database'], $this->config['storage'], $resource, $method, $imageIdentifier);
+        $operation->setConfig($this->config);
+        return $operation;
     }
 
     /**
Fixed a bug where the configuration would not be set to the operation class, causing all auth-requests to fail.