laoooo
V2EX  ›  OpenAI

Codex 免验证码登录公益站

  •  
  •   laoooo · 6h 30m ago · 1308 views

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

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

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

    14 replies    2026-05-12 19:12:25 +08:00
    idragonet
        1
    idragonet  
       5h 52m ago
    Visual Studio CODE 插件 CodeX 好像不行。
    ca2oh4
        2
    ca2oh4  
       5h 40m ago
    windows 的命令不对
    idragonet
        3
    idragonet  
       5h 32m ago
    发现: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
        4
    laoooo  
    OP
       5h 2m ago
    @idragonet refresh_token 是必须要验证手机号才有的,这个为空是正常情况。关于使用不了的问题,建议升级一下版本试试看,如果不行估计只能使用 APP 客户端了。
    laoooo
        5
    laoooo  
    OP
       4h 59m ago
    @laoooo 或者尝试在 refresh_token 中,填入一些随机字符试试
    idragonet
        6
    idragonet  
       4h 54m ago
    @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.
    Oktfolio
        8
    Oktfolio  
       4h 14m ago
    用不了
    liang0352
        9
    liang0352  
       3h 49m ago
    用不了+1
    yusemo
        10
    yusemo  
       3h 39m ago
    依旧报错: 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
        11
    934831065ldc  
       3h 8m ago
    id_token 和 access_token 是不一样的
    Xdragon
        12
    Xdragon  
       1h 34m ago
    上面的问题都存在
    有解决办法了么
    csfreshman
        13
    csfreshman  
       1h 26m ago
    天下苦 codex 和 claudecode 久已,想付费用个,还得胆战心惊,解决各种问题,我 cc 从 25 年 9 月到现在基本月抛号
    r03r03
        14
    r03r03  
       7 mins ago via Android
    没有通过验证码核验的账号也可以用吗?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3565 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 81ms · UTC 11:19 · PVG 19:19 · LAX 04:19 · JFK 07:19
    ♥ Do have faith in what you're doing.