注册现在通过AuthZ进行处理,而登录/运行时查找仍然使用deploy-control。 更新了API调用逻辑,将注册请求从直接调用deploy-control和instance-api 改为统一调用AuthZ服务。 - 修改了注册API路由(/api/runtime/register)以使用callAuthzService - 更新README.md文档说明新的架构流程 - 添加AUTHZ_API_BASE_URL环境变量配置 - 更新注册页面描述信息 - 移除了不再使用的callDeployControl和callInstanceApi相关代码
27 lines
631 B
TOML
27 lines
631 B
TOML
[project]
|
|
name = "authz-service"
|
|
version = "0.1.0"
|
|
description = "OAuth-first AuthZ service for backend registration, permissions, and Outlook settings"
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"fastapi>=0.115.0,<1.0.0",
|
|
"uvicorn[standard]>=0.34.0,<1.0.0",
|
|
"httpx>=0.28.0,<1.0.0",
|
|
"pydantic>=2.12.0,<3.0.0",
|
|
"cryptography>=45.0.0,<46.0.0",
|
|
"PyJWT>=2.10.0,<3.0.0",
|
|
"python-multipart>=0.0.20,<1.0.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=8.3.0,<9.0.0",
|
|
]
|
|
|
|
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["app"]
|