---
title: "Feature: #100116 - Make PSR-7 request accessible for authentication services"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-100116-1678299307"
source: "Changelog/12.3/Feature-100116-MakePSR-7RequestAccessibleForAuthenticationServices.rst"
typo3-version: "12.3"
typo3-major: 12
type: "feature"
issue: 100116
forge: "https://forge.typo3.org/issues/100116"
tags: ["ext:core"]
rendered: "2026-10-02T13:37:19+00:00"
---

# Feature: #100116 - Make PSR-7 request accessible for authentication services {#feature-100116-1678299307}

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

## Description {#description}

Authentication services can now access the PSR-7 request object via the
`$authInfo` array. Previously, custom TYPO3 authentication services
did not have direct access to the object and therefore had to either
use PHP super globals or TYPO3's `GeneralUtility::getIndpEnv()` method.

The following example shows how to retrieve the PSR-7 request in the
`initAuth()` method of a custom authentication service:

```php
public function initAuth($mode, $loginData, $authInfo, $pObj)
{
    /** @var ServerRequestInterface $request */
    $request = $authInfo['request'];

    /** @var NormalizedParams $normalizedParams */
    $normalizedParams = $request->getAttribute('normalizedParams');
    $isHttps = $normalizedParams->isHttps();
}
```

## Impact {#impact}

Custom TYPO3 authentication services can now directly access the PSR-7
request object from the authentication process. It is available via the
`request` key of the `$authInfo` array, which is handed over
to the `initAuth()` method.
