通过TYPO3中的IP地址自动进行身份验证



我想自动验证从特定IP地址访问TYPO3中受保护区域的用户。应跳过登录页面。应该可以直接访问受保护区域中的URL,而无需重定向到登录页面。

我已经测试了扩展"aoe_ipauth"。不幸的是,这里不可能"直接"链接内容页面。

有人有主意吗?可能是通过调整TYPO3中间件?

非常感谢!

我相信你走在了正确的道路上,但试图解决错误的问题。您所说的扩展无法在链接到页面后直接登录,因为这不是身份验证服务的功能。

查看FE登录过程并重定向以使其正常工作。你需要设置一些

# https://docs.typo3.org/m/typo3/reference-typoscript/master/en-us/Setup/Config/Index.html#typolinklinkaccessrestrictedpages
# If set, typolinks pointing to access restricted pages will still link to the page even though the page cannot be accessed. 
# If the value of this setting is an integer it will be interpreted as a page id to which the link will be directed.
config.typolinkLinkAccessRestrictedPages = id_to_your_login_page

当用户尚未登录时,这将设置重定向到您的登录页面。您可以使用aoe_ipauth登录用户,并使用重定向模式将用户重定向回其来源https://docs.typo3.org/c/typo3/cms-felogin/master/en-us/LoginMechanism/RedirectModes/Index.html#defined-通过获取post-vars或https://docs.typo3.org/c/typo3/cms-felogin/master/en-us/LoginMechanism/RedirectModes/Index.html#defined-由推荐人

相关内容

最新更新