xperseguers / t3ext-ig_ldap_sso_auth

TYPO3 Extension ig_ldap_sso_auth. This extension provides LDAP and SSO support for TYPO3.
https://extensions.typo3.org/extension/ig_ldap_sso_auth
27 stars 62 forks source link

Login in TYPO3 11 with PHP 8.2 did not work since $GLOBALS['TYPO3_REQUEST'] was empty. #179

Closed moritzkiehl closed 8 months ago

moritzkiehl commented 11 months ago

Hey, I encountered an error when trying to log into one of the Systems I tried to upgrade to PHP 8.2 and I could narrow it down to the fact that $GLOBALS['TYPO3_REQUEST'] was empty. Maybe there is another error which causes this.

Anyway I added another fallback to check if we are in a FE or BE Context on my fork but the rector upgrades for more PHP 8.2. Compatibility break some things if used with PHP 7.4, so I did not open a PR.

There is probably a better/smarter solution or even a fix to the fact that $GLOBALS['TYPO3_REQUEST'] was empty in my Installation.

xperseguers commented 8 months ago

Fixed with #183. Thanks for reporting.