fgtclb/typo3-oauth2-server
Composer 安装命令:
composer require fgtclb/typo3-oauth2-server
包简介
OAuth2 server implementation for TYPO3 frontend users
README 文档
README
| URL | |
|---|---|
| Repository: | https://github.com/fgtclb/typo3-oauth2-server |
| TER: | - |
Description
This package implements OAuth2 for TYPO3 to enable 3rd party services to authenticate users using frontend users in TYPO3.
Compatibility
| Branch | Version | TYPO3 | PHP |
|---|---|---|---|
| main | 2.0.x-dev | ~v11, ~v12 | 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 (depending on TYPO3) |
| 1 | 1.0.x-dev | ~v9 | 7.2, 7.3, 7.4 |
Installation
This package can be installed via Composer:
composer require 'fgtclb/typo3-oauth2-server':'^2'
For a fully working setup a RSA keypair needs to be generated and set in the extension configuration:
# Generate random private key openssl genrsa -out private.key 2048 # Extract public key from private key openssl rsa -in private.key -pubout -out public.key
This keypair must be stored safely which means outside of the TYPO3 web directory and should be readonly.
Important
2.x.x is still in development and not all academics extension are fully tested in v12 and v13,
but can be installed in composer instances to use/test them. Testing and reporting are welcome.
Testing 2.x.x extension version in projects (composer mode)
It is already possible to use and test the 2.x version in composer based instances,
which is encouraged and feedback of issues not detected by us (or pull-requests).
Your project should configure minimum-stabilty: dev and prefer-stable to allow
requiring each extension but still use stable versions over development versions:
composer config minimum-stability "dev" \ && composer config "prefer-stable" true
and installed with:
composer require 'fgtclb/typo3-oauth2-server':'2.*.*@dev'
Configuration
Extension settings
- Set the paths to your private and public key files.
- Set the page id where your login form is located. The middleware will redirect users to this page.
OAuth2 Client access
To register clients in the OAuth2 server you need to create OAuth2 Client records on the root page accordingly. Here you can set the identifier and secret as well as redirect URLs to be used in your client code.
Endpoints
After installation the following endpoints are available and should be set in the 3rd party services:
/oauth/authorize: endpoint for authorization code requests/oauth/token: endpoint for access token requests using a authorization code/oauth/identity: endpoint for retrieving a username using an access token
Currently only the authorization code grant is available.
Credits
This extension was created by FGTCLB GmbH.
fgtclb/typo3-oauth2-server 适用场景与选型建议
fgtclb/typo3-oauth2-server 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 4.08k 次下载、GitHub Stars 达 9, 最近一次更新时间为 2025 年 05 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 fgtclb/typo3-oauth2-server 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 fgtclb/typo3-oauth2-server 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 4.08k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 7
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2025-05-27