fix jwt token decoding; correctly import google auth routes; adjust app/auth/ package

This commit is contained in:
2026-05-19 22:21:27 +08:00
parent 419af38684
commit fe1fde778f
6 changed files with 85 additions and 29 deletions
+12
View File
@@ -0,0 +1,12 @@
from fastapi import APIRouter
# 导入各个渠道的路由
from .google import router as google_router
# from .github import router as github_router
# 创建一个总的 oauth 路由器
oauth_router = APIRouter()
# 包含 Google 的路由
oauth_router.include_router(google_router)
# oauth_router.include_router(github_router)