0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

WSL2でCodexにログインできないとき

Last updated at Posted at 2025-11-17

事象

  • WSLでCodexにログインしようとしたところ、以下のエラーメッセージでログインに失敗した。
    • Token exchange failed: error sending request for url (https://auth.openai.com/oauth/token)

解決した方法

  • 一度WindowsのVSCode拡張機能でCodexにログインし、その後WSLに接続したVSCode拡張機能でログインすると成功した。CLIも操作できるようになっていた。
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?