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

Backend login not possible from alternative site language domain #132

Closed codemonkey1988 closed 2 years ago

codemonkey1988 commented 2 years ago

Right now, it is not possible to login from a domain that is configured as a base for an alternative site language.

Extension version: 3.6.0 TYPO3 version: 10.4.23 PHP version: 7.4

Steps to reproduce:

  1. Create a site configuration with two languages
  2. Set something like https://my-site.com as default base URL and https://my-site.de as base URL for German translation
  3. Call https://my-site.de/typo3/ and try to login using Ldap authentication

Why should this work? In most cases it is okay logging into the TYPO3 backend using the main base URL. But there are cases, where this can lead to problems. When using the page type Backend User Section and having multiple languages with different domains, this can be problematic. When calling a translated Backend user section, the system uses the corresponding site language base URL for preview. But there is no valid backend login for this domain so an editor can preview a translated Backend User Section. The editor needs to login to the TYPO3 backend using the base URL from the alternative site language.