---
title: "Feature: #44127 - Introduced two new Hooks for OpenID"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-44127"
source: "Changelog/7.6/Feature-44127-HooksForOpenIdToAutomaticallyCreateUserAccounts.rst"
modified: "2026-09-14T09:47:36+00:00"
---

# Feature: #44127 - Introduced two new Hooks for OpenID

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

## Description

Two hooks were added to the OpenIdService. They make it possible to modify the request sent to the OpenID Server,
or to modify/create backend users on the fly during OpenID login.

## Hooks

The following hooks were introduced:

-   `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['openid']['getUserRecord']`

-   **Modifies the userRecord after it has been fetched (or none was found).**

    Can be used to e.g. create a new record if none was found or update an existing one.
    The following parameters are passed to the hook: `record`, `response`, `authInfo`.

-   **\- `$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['openid']['authRequest']`**

    Modifies the Authentication Request, before it's sent.
    Can be used to e.g. request additional attributes like a nickname from the OpenID Server.
    The following parameters are passed to the hook: `authRequest`, `authInfo`.
