diff --git a/lib/SimpleSAML/Auth/Source.php b/lib/SimpleSAML/Auth/Source.php
index 95e9b2a13c261e46dfcf9024b0390ad07d99a98c..27803ebb04c0331dc36185ab44205ca2cbb643c4 100644
--- a/lib/SimpleSAML/Auth/Source.php
+++ b/lib/SimpleSAML/Auth/Source.php
@@ -165,15 +165,11 @@ abstract class SimpleSAML_Auth_Source {
 		/* For now - load and parse config file. */
 		$config = SimpleSAML_Configuration::getConfig('authsources.php');
 
-		$authConfig = $config->getValue($authId, NULL);
+		$authConfig = $config->getArray($authId, NULL);
 		if ($authConfig === NULL) {
 			return NULL;
 		}
 
-		if (!is_array($authConfig)) {
-			throw new Exception('Invalid configuration for authentication source \'' . $authId . '\'.');
-		}
-
 		return self::parseAuthSource($authId, $authConfig);
 	}