Skip to content

fix(oauth): 每次刷新都通过 backend-api 获取最新 plan_type#1422

Open
DaydreamCoding wants to merge 1 commit intoWei-Shaw:mainfrom
DaydreamCoding:fix/refresh-plan-type
Open

fix(oauth): 每次刷新都通过 backend-api 获取最新 plan_type#1422
DaydreamCoding wants to merge 1 commit intoWei-Shaw:mainfrom
DaydreamCoding:fix/refresh-plan-type

Conversation

@DaydreamCoding
Copy link
Copy Markdown

账号订阅类型可能每月变化,id_token 中的 plan_type 是签发时的快照,
不一定反映当前状态。移除 plan_type == "" 前置条件,确保每次刷新都
调用 ChatGPT backend-api 获取实时订阅类型并覆盖旧值。

账号订阅类型可能每月变化,id_token 中的 plan_type 是签发时的快照,
不一定反映当前状态。移除 plan_type == "" 前置条件,确保每次刷新都
调用 ChatGPT backend-api 获取实时订阅类型并覆盖旧值。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@seng1e
Copy link
Copy Markdown

seng1e commented Apr 1, 2026

same with #1385

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants