mirror of
https://github.com/justlovemaki/AIClient-2-API.git
synced 2026-04-27 18:35:51 +03:00
[GH-ISSUE #148] 手动填写授权后的url,总是显示 正在完成授权... #118
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/AIClient-2-API-justlovemaki#118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Yoahoug on GitHub (Jan 1, 2026).
Original GitHub issue: https://github.com/justlovemaki/AIClient-2-API/issues/148
无有效日志。
搭建现状:使用的是Zeabur搭建,内网启动了8085和8086端口,但是无法映射到公网,只能手动填写回调url。
日志:
[01:02:22] [INFO] [OAuth] 已关闭提供商 gemini-cli-oauth 在端口 8085 上的旧服务器
[01:02:22] [INFO] [Gemini Auth] OAuth 回调服务器已启动于 0.0.0.0:8085
f12中网络 无请求。
控制台除了心跳外无其他显示。
@justlovemaki commented on GitHub (Jan 2, 2026):
请确保8085和8086能在浏览器内正常访问,才能成功回调
@Yoahoug commented on GitHub (Jan 2, 2026):
那在端口不支持的情况下,手动填写url可以在本地直接解析回调url吧。具体可以参考https://github.com/su-kaka/gcli2api
文件: front/common.js 函数: processCallbackUrl()
文件: src/web_routes.py 函数: auth_callback_url
文件: src/google_oauth_api.py 类/方法: Flow.exchange_code
@justlovemaki commented on GitHub (Jan 3, 2026):
用最新版再试试