modify: auth插件拆分,将token签发部分交给网关

This commit is contained in:
2026-09-10 16:44:17 +08:00
parent 8d9c688991
commit 3539c7c18e
8 changed files with 78 additions and 13 deletions
+5
View File
@@ -0,0 +1,5 @@
[GET]
summary = "GitHub 授权登录:生成授权跳转 URL"
docstring = "生成 GitHub OAuth 授权链接(含防 CSRF 的 state,存共享缓存 300s)。前端拿 authorize_url 自行跳转。"
auth_required = false
cacheable = false