Feature: #44127 - Introduced two new Hooks for OpenID¶
See forge#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'] ['get User Record']
- 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
,auth
.Info - -
$GLOBALS
['TYPO3_ CONF_ VARS'] ['SC_ OPTIONS'] ['openid'] ['auth Request'] - 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:
auth
,Request auth
.Info