V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
sshang
V2EX  ›  程序员

codex 登录问题求助

  •  
  •   sshang · 14 小时 2 分钟前 · 374 次点击

    macOS ,登录 codex 的时候老是提示

    Token exchange failed: token endpoint returned status 403 Forbidden

    我看是回调到了

    http://localhost:1455/auth/callback?code=ac_xxxxxx.yyyyy&scope=openid+profile+email+offline_access&state=xxxxxx

    有老哥遇到过吗,求助

    2 条回复    2025-09-18 20:01:18 +08:00
    OBJECTION
        1
    OBJECTION  
       7 小时 46 分钟前
    https://github.com/openai/codex/issues/2414
    要不看看这? 我是再 wsl 里面会失败,然后 issue 里面的方法是把 json 文件直接拷贝 你看看在其他机器上行不行
    jqknono
        2
    jqknono  
       4 小时 54 分钟前
    是不是从 vscode 远程登的, vscode 会 port forward, 找下远程设置的 ip, localhost 替换为远程 ip, 确保防火墙通的, 刷新就可以了. 另外可能要重启 vscode 才能看到效果.
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1429 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 21ms · UTC 16:55 · PVG 00:55 · LAX 09:55 · JFK 12:55
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.