schnitzler/frontend-user-login-token
Composer 安装命令:
composer require schnitzler/frontend-user-login-token
包简介
A TYPO3 extension that generates frontend user login tokens
README 文档
README
Token-based frontend login for TYPO3 — no password required, straight from the CLI.
Anyone managing TYPO3 instances with many frontend users across different groups knows the pain: to debug a specific user you either need their password or have to reset it temporarily. This extension solves that cleanly — a single CLI command generates a time-limited login link. No password, no database entry.
Usage
The entry point is the following CLI command:
php vendor/bin/typo3 schnitzler:frontend-user-login-token:find-frontend-user [q]
Without an argument, all frontend users are listed. Passing a search term filters by the following fields:
uidusernamefirst_namelast_name
The result is a table of users with a login link that can be copied directly into the browser.
Anatomy of a Login Link
/?logintype=login
&login-token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjEsImV4cCI6MTc3ODE4MDAyMX0.b3Aw17vsaumpCehEpWmWht3mXEpMD-yxdGhxiN57X9M
&hmac=2552db5124551ce5ff5377b70c966c1e1ab7d047
The link consists of three parts:
| Parameter | Purpose |
|---|---|
logintype=login |
Instructs TYPO3 to use the login mechanism |
login-token |
The JWT itself, containing uid and expiry timestamp |
hmac |
Signature to verify the token's integrity |
Tokens expire after 1 hour by default.
Technical Details
- The token is generated on the fly and is never stored in the database.
- It is a JWT (JSON Web Token) containing only the user ID and an expiration date.
- Once the extension detects a login link, it validates the signature and initiates the login — without a POST request.
- Both the JWT and the HMAC are generated using the TYPO3 Security Framework, derived from
$GLOBALS['TYPO3_CONF_VARS']['SYS']['encryptionKey']. - Tokens cannot be guessed due to cryptographic signing.
Security Considerations
Warning
An intercepted login link grants immediate access to the corresponding frontend account — no further knowledge about the user required.
The extension is an excellent fit for development and testing. For production use, the risk should be consciously evaluated. That said, the author has been running it in production for over two years.
schnitzler/frontend-user-login-token 适用场景与选型建议
schnitzler/frontend-user-login-token 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 05 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 schnitzler/frontend-user-login-token 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 schnitzler/frontend-user-login-token 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 23
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-05-07