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

codex 登录问题求助

  •  
  •   sshang · 17 小时 29 分钟前 · 401 次点击

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