Codex 免验证码登录公益站

5 月 12 日
 laoooo

最近发现 Codex 登录需要验证码,因此做了个公益站:传送门,免验证码登录 Codex 。打开即用,纯 JS 处理。

原理:手动配置 access token 给 Codex 。

注意:此方案有有效期问题,大概 10 天左右需要重新获取一次。

7150 次点击
所在节点    OpenAI
28 条回复
idragonet
5 月 12 日
Visual Studio CODE 插件 CodeX 好像不行。
ca2oh4
5 月 12 日
windows 的命令不对
idragonet
5 月 12 日
发现: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.
laoooo
5 月 12 日
@idragonet refresh_token 是必须要验证手机号才有的,这个为空是正常情况。关于使用不了的问题,建议升级一下版本试试看,如果不行估计只能使用 APP 客户端了。
laoooo
5 月 12 日
@laoooo 或者尝试在 refresh_token 中,填入一些随机字符试试
idragonet
5 月 12 日
@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.
ca2oh4
5 月 12 日
Oktfolio
5 月 12 日
用不了
liang0352
5 月 12 日
用不了+1
yusemo
5 月 12 日
依旧报错: 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.
934831065ldc
5 月 12 日
id_token 和 access_token 是不一样的
Xdragon
5 月 12 日
上面的问题都存在
有解决办法了么
csfreshman
5 月 12 日
天下苦 codex 和 claudecode 久已,想付费用个,还得胆战心惊,解决各种问题,我 cc 从 25 年 9 月到现在基本月抛号
r03r03
5 月 12 日
没有通过验证码核验的账号也可以用吗?
ihongren
5 月 12 日
可用
outtime
5 月 12 日
App 可以用,应该是 cli 强制要 refresh token
r03r03
5 月 13 日
@outtime 请问下,你说的 app 是指桌面版的 codex 客户端吗?我这里还是提示:Your access token could not be refreshed because your refresh token was already used. Please log out and sign in again.使用不了。
laoooo
5 月 13 日
@r03r03 是的,我这边测试没问题
ihongren
5 月 13 日
@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.
r03r03
5 月 13 日
上午折腾了两个小时,还是不行。完全退出账号,删除 cookie ,重新登陆账号。删除本地的 codex 相关缓存以及账号信息相关的配置文件,依然会提示:Your access token could not be refreshed because your refresh token was already used. Please log out and sign in again.🤣

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1212126

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX