---
title: "Feature: #107725 - Support username for authentication in Redis cache backend"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-107725-1760807740"
source: "Changelog/14.0/Feature-107725-RedisCacheBackendAuthenticationWithUsernameAndPassword.rst"
typo3-version: "14.0"
typo3-major: 14
type: "feature"
issue: 107725
forge: "https://forge.typo3.org/issues/107725"
tags: ["LocalConfiguration", "ext:core"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Feature: #107725 - Support username for authentication in Redis cache backend {#feature-107725-1760807740}

See [forge#107725](https://forge.typo3.org/issues/107725)

## Description {#description}

Since Redis 6.0, it is possible to authenticate against Redis using both a
username and a password. Prior to this version, authentication was only
possible with a password. With this change, the Redis cache backend in TYPO3
now supports both authentication mechanisms.

You can configure the Redis cache backend as follows:

**config/system/additional.php**

```php
use TYPO3\CMS\Core\Cache\Backend\RedisBackend;

$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['pages']['backend'] = RedisBackend::class;
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['pages']['options']
    = [
        'defaultLifetime' => 86400,
        'database' => 0,
        'hostname' => 'redis',
        'port' => 6379,
        'username' => 'redis',
        'password' => 'redis',
    ];
```

## Impact {#impact}

The `RedisBackend` now supports
authentication using both a username and a password.

The `password` configuration option is now typed as
`array|string`. Using an array for this configuration option is
deprecated and will be removed in TYPO3 v15.0.
