diff --git a/config-templates/authsources.php b/config-templates/authsources.php
index 20f804adb1a07e3161c7a00f68dd99334cf50f91..bbc720ea28e1216f7df2835a0b5e439040f4f551 100644
--- a/config-templates/authsources.php
+++ b/config-templates/authsources.php
@@ -81,7 +81,7 @@ $config = array(
 		 * The entity ID of this SP.
 		 * Can be NULL/unset, in which case an entity ID is generated based on the metadata URL.
 		 */
-		'entityId' => NULL,
+		'entityid' => NULL,
 
 		/*
 		 * The entity ID of the IdP this should SP should contact.