定制 fgtclb/typo3-oauth2-server 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

  1. Set the paths to your private and public key files.
  2. 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:

  1. /oauth/authorize: endpoint for authorization code requests
  2. /oauth/token: endpoint for access token requests using a authorization code
  3. /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.

Find more TYPO3 extensions we have developed.

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 我们能提供哪些服务?
定制开发 / 二次开发

基于 fgtclb/typo3-oauth2-server 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 4.08k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 7
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 6
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2025-05-27