最近发现 Codex 登录需要验证码,因此做了个公益站:传送门,免验证码登录 Codex 。打开即用,纯 JS 处理。
原理:手动配置 access token 给 Codex 。
注意:此方案有有效期问题,大概 10 天左右需要重新获取一次。
最近发现 Codex 登录需要验证码,因此做了个公益站:传送门,免验证码登录 Codex 。打开即用,纯 JS 处理。
原理:手动配置 access token 给 Codex 。
注意:此方案有有效期问题,大概 10 天左右需要重新获取一次。
|
idragonetMay 12
1
Visual Studio CODE 插件 CodeX 好像不行。
|
|
ca2oh4May 12
2
windows 的命令不对
|
|
idragonetMay 12
3
发现:refresh_token 是空的,使用不了:“Failed to refresh token: 400 Bad Request: Invalid 'refresh_token': empty string. Expected a string with minimum length 1, but got an empty string instead.
” |
|
4
@idragonet refresh_token 是必须要验证手机号才有的,这个为空是正常情况。关于使用不了的问题,建议升级一下版本试试看,如果不行估计只能使用 APP 客户端了。
|
|
idragonetMay 12
6
@laoooo #5 Visual Studio CODE 插件 CodeX 这样不行,依旧报错:Your access token could not be refreshed because your refresh token was already used. Please log out and sign in again.
。 |
|
7
|
|
OktfolioMay 12
8
用不了
|
|
liang0352May 12
9
用不了+1
|
|
yusemoMay 12
10
依旧报错: Failed to refresh token: 400 Bad Request: Invalid 'refresh_token': empty string. Expected a string with minimum length 1, but got an empty string instead.
填入一些随机字符报 Your access token could not be refreshed. Please log out and sign in again. |
|
934831065ldcMay 12
11
id_token 和 access_token 是不一样的
|
|
XdragonMay 12
12
上面的问题都存在
有解决办法了么 |
|
csfreshmanMay 12
13
天下苦 codex 和 claudecode 久已,想付费用个,还得胆战心惊,解决各种问题,我 cc 从 25 年 9 月到现在基本月抛号
|
|
r03r03May 12 via Android
14
没有通过验证码核验的账号也可以用吗?
|
|
ihongrenMay 12
15
可用
|
|
16
App 可以用,应该是 cli 强制要 refresh token
|
|
r03r03May 13
17
@outtime 请问下,你说的 app 是指桌面版的 codex 客户端吗?我这里还是提示:Your access token could not be refreshed because your refresh token was already used. Please log out and sign in again.使用不了。
|
|
ihongrenMay 13
19
@ihongren 是能登录进去,但是使用报错:Failed to refresh token: 400 Bad Request: Invalid 'refresh_token': empty string. Expected a string with minimum length 1, but got an empty string instead.
|
|
r03r03May 13
20
上午折腾了两个小时,还是不行。完全退出账号,删除 cookie ,重新登陆账号。删除本地的 codex 相关缓存以及账号信息相关的配置文件,依然会提示:Your access token could not be refreshed because your refresh token was already used. Please log out and sign in again.🤣
|
|
myKingMay 19
21
谢谢高手
|
|
hikarugoMay 20
22
太强了,感谢,天才程序员继续工作
|
|
lc0376May 21
23
感谢
|
|
myKingMay 21
24
@ca2oh4 哥,日期:20260521 显示重连 5 词,然后提示错误 Failed to refresh token: 400 Bad Request: Invalid 'refresh_token': empty string. Expected a string with minimum length 1, but got an empty string instead.
|
|
xiangddMay 22
26
codex cli 不行,报错 refresh token was already used
|
|
Ch1haoJun 1
27
大佬 nb ,真的非常感谢
|
|
eunruiOct 5
29
更新了 0.160 后好像失效了
|