[PR #216] [MERGED] fix: 修改oauth鉴权逻辑,支持调用回调认证url过程中使用代理 #304

Closed
opened 2026-02-27 07:18:53 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/justlovemaki/AIClient-2-API/pull/216
Author: @lixiangwuxian
Created: 1/12/2026
Status: Merged
Merged: 1/12/2026
Merged by: @justlovemaki

Base: mainHead: main


📝 Commits (1)

  • 4f4cc0f fix: 修改oauth鉴权逻辑,支持调用回调url过程中使用代理

📊 Changes

1 file changed (+64 additions, -29 deletions)

View changed files

📝 src/auth/oauth-handlers.js (+64 -29)

📄 Description

测试发现本地部署后,antigravity提供商无法登录,在粘贴回调url并确认后等待一段时间后会返回超时报错(已配置代理)。检查发现oauth验证流程没有使用配置的代理。
调整后在本地重新docker compose build部署测试,可以正常登录antigravity。


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/justlovemaki/AIClient-2-API/pull/216 **Author:** [@lixiangwuxian](https://github.com/lixiangwuxian) **Created:** 1/12/2026 **Status:** ✅ Merged **Merged:** 1/12/2026 **Merged by:** [@justlovemaki](https://github.com/justlovemaki) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`4f4cc0f`](https://github.com/justlovemaki/AIClient-2-API/commit/4f4cc0f9ff9b6ebffdd33a85620fcb9cab69eb24) fix: 修改oauth鉴权逻辑,支持调用回调url过程中使用代理 ### 📊 Changes **1 file changed** (+64 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `src/auth/oauth-handlers.js` (+64 -29) </details> ### 📄 Description 测试发现本地部署后,antigravity提供商无法登录,在粘贴回调url并确认后等待一段时间后会返回超时报错(已配置代理)。检查发现oauth验证流程没有使用配置的代理。 调整后在本地重新docker compose build部署测试,可以正常登录antigravity。 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 07:18:53 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AIClient-2-API-justlovemaki#304
No description provided.