diff --git a/auth/api_key.go b/auth/api_key.go
index f9e938a9e208f2c07d741e43e64fa02e73105127..7f6c6ef993400691e3153be97077e818a6d5d61e 100644
--- a/auth/api_key.go
+++ b/auth/api_key.go
@@ -22,7 +22,10 @@ func GenerateNewApiKey() string {
 
 // GetApiKeyFromHeaders checks if a bearer token is passed as part of the Authorization header and returns that key
 func GetApiKeyFromHeaders(headers map[string]string) string {
-	key := headers["Authorization"]
+	key := headers["authorization"]
+	if key == "" {
+		key = headers["Authorization"]
+	}
 	if strings.HasPrefix(strings.ToLower(key), "bearer ") {
 		key = strings.TrimPrefix(strings.ToLower(key), "bearer")
 		return strings.TrimSpace(key)