laoooo
V2EX  ›  OpenAI

Codex 免验证码登录公益站

  •  
  •   laoooo · 1 day ago · 2472 views

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

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

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

    20 replies    2026-05-13 12:30:47 +08:00
    idragonet
        1
    idragonet  
       1 day ago
    Visual Studio CODE 插件 CodeX 好像不行。
    ca2oh4
        2
    ca2oh4  
       1 day ago
    windows 的命令不对
    idragonet
        3
    idragonet  
       1 day 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
       1 day ago
    @idragonet refresh_token 是必须要验证手机号才有的,这个为空是正常情况。关于使用不了的问题,建议升级一下版本试试看,如果不行估计只能使用 APP 客户端了。
    laoooo
        5
    laoooo  
    OP
       1 day ago
    @laoooo 或者尝试在 refresh_token 中,填入一些随机字符试试
    idragonet
        6
    idragonet  
       1 day 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  
       1 day ago
    用不了
    liang0352
        9
    liang0352  
       1 day ago
    用不了+1
    yusemo
        10
    yusemo  
       1 day 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  
       1 day ago
    id_token 和 access_token 是不一样的
    Xdragon
        12
    Xdragon  
       1 day ago
    上面的问题都存在
    有解决办法了么
    csfreshman
        13
    csfreshman  
       1 day ago
    天下苦 codex 和 claudecode 久已,想付费用个,还得胆战心惊,解决各种问题,我 cc 从 25 年 9 月到现在基本月抛号
    r03r03
        14
    r03r03  
       1 day ago via Android
    没有通过验证码核验的账号也可以用吗?
    ihongren
        15
    ihongren  
       1 day ago
    可用
    outtime
        16
    outtime  
       1 day ago
    App 可以用,应该是 cli 强制要 refresh token
    r03r03
        17
    r03r03  
       16h 50m ago
    @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
        18
    laoooo  
    OP
       16h 23m ago
    @r03r03 是的,我这边测试没问题
    ihongren
        19
    ihongren  
       14h 48m ago
    @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
        20
    r03r03  
       13h 25m ago
    上午折腾了两个小时,还是不行。完全退出账号,删除 cookie ,重新登陆账号。删除本地的 codex 相关缓存以及账号信息相关的配置文件,依然会提示:Your access token could not be refreshed because your refresh token was already used. Please log out and sign in again.🤣
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1148 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 50ms · UTC 17:56 · PVG 01:56 · LAX 10:56 · JFK 13:56
    ♥ Do have faith in what you're doing.