vscode中使用codex插件登录openai被拒绝啦.

2026-04-11 12:480阅读0评论SEO教程
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:

image1051×461 30.1 KB
求助大佬们,在vscode上登录codex时,一直被拒绝登录,
提示如下:
Codex login

Sign-in could not be completed

Token exchange failed: token endpoint returned status 403 Forbidden: Country, region, or territory not supported

Error code token_exchange_failed

Details Token exchange failed: token endpoint returned status 403 Forbidden: Country, region, or territory not supported

Return to Codex to retry, switch accounts, or contact your workspace admin if access is restricted.

网友解答:
--【壹】--:

windows版本 我也是这个提示登录不了


--【贰】--:

清除掉以前的登录信息(我用的cc-switch,/logout并不会清除)
手动创建一个空的配置信息,在登陆即可


--【叁】--:

只能换节点


--【肆】--:

对,我把以前的登录信息删了,再重新登录就好了


--【伍】--:

换节点,开TUN


--【陆】--:

意思是不用通过vscode了吗?


--【柒】--:

codex不是有windows版本了吗


-
阅读全文
标签:软件开发
问题描述:

image1051×461 30.1 KB
求助大佬们,在vscode上登录codex时,一直被拒绝登录,
提示如下:
Codex login

Sign-in could not be completed

Token exchange failed: token endpoint returned status 403 Forbidden: Country, region, or territory not supported

Error code token_exchange_failed

Details Token exchange failed: token endpoint returned status 403 Forbidden: Country, region, or territory not supported

Return to Codex to retry, switch accounts, or contact your workspace admin if access is restricted.

网友解答:
--【壹】--:

windows版本 我也是这个提示登录不了


--【贰】--:

清除掉以前的登录信息(我用的cc-switch,/logout并不会清除)
手动创建一个空的配置信息,在登陆即可


--【叁】--:

只能换节点


--【肆】--:

对,我把以前的登录信息删了,再重新登录就好了


--【伍】--:

换节点,开TUN


--【陆】--:

意思是不用通过vscode了吗?


--【柒】--:

codex不是有windows版本了吗


-
阅读全文
标签:软件开发