Skip to content

cannot complete authentication with "sign in with chatgpt" option #5673

@AlmarionAI

Description

@AlmarionAI

What version of the VS Code extension are you using?

Version: 1.105.1 (Universal)

What subscription do you have?

pro

Which IDE are you using?

VS Code

What platform is your computer?

mac os

What issue are you seeing?

I use Codex inside VsCode, it is working normally but when I wanna install it on a VsCode remote session, it asks me to reauthenticate. I follow the standart authenticate process as I select "sign in with chatgpt" option, it directs me to a link where I enter my username and password and then after successfully logged in, it opens a consent screen to click on Continue

and then it opens this page first when I click on continue

https://auth.openai.com/oauth/authorize?response_type=code&client_id=app_EMoamEEZ73f0CkXaXp7hrann&redirect_uri=http://localhost:1455/auth/callback&scope=openid profile email offline_access&code_challenge=hW0J5LNS_OLtJzD-a25mQC8So-G7jwLgNcrv8NtteSE&code_challenge_method=S256&id_token_add_organizations=true&codex_cli_simplified_flow=true&state=6_xJ8vN-aWmcSLXKsSWWAyf0WpY0M8P5xOuFfp--c4c&originator=codex_vscode

and then forwards to this page, but it never finishes loading

https://auth.openai.com/sign-in-with-chatgpt/consent
and VScode Codex window stays like this

link that it generates inside Vscode when I click on "Sign in with ChatGPT"https://auth.openai.com/oauth/authorize?response_type=code&client_id=app_EMoamEEZ73f0CkXaXp7hrann&redirect_uri=http://localhost:1455/auth/callback&scope=openid profile email offline_access&code_challenge=hW0J5LNS_OLtJzD-a25mQC8So-G7jwLgNcrv8NtteSE&code_challenge_method=S256&id_token_add_organizations=true&codex_cli_simplified_flow=true&state=6_xJ8vN-aWmcSLXKsSWWAyf0WpY0M8P5xOuFfp--c4c&originator=codex_vscode
I'm having this issue for a couple of days and I need a solution to continue working with codex on my remote projects.

What steps can reproduce the bug?

I follow the standart authenticate process as I select "sign in with chatgpt" option, it directs me to a link where I enter my username and password and then after successfully logged in, it opens a consent screen to click on Continue

and then it opens this page first when I click on continue

https://auth.openai.com/oauth/authorize?response_type=code&client_id=app_EMoamEEZ73f0CkXaXp7hrann&redirect_uri=http://localhost:1455/auth/callback&scope=openid profile email offline_access&code_challenge=hW0J5LNS_OLtJzD-a25mQC8So-G7jwLgNcrv8NtteSE&code_challenge_method=S256&id_token_add_organizations=true&codex_cli_simplified_flow=true&state=6_xJ8vN-aWmcSLXKsSWWAyf0WpY0M8P5xOuFfp--c4c&originator=codex_vscode

and then forwards to this page, but it never finishes loading

https://auth.openai.com/sign-in-with-chatgpt/consent
and VScode Codex window stays like this

link that it generates inside Vscode when I click on "Sign in with ChatGPT"https://auth.openai.com/oauth/authorize?response_type=code&client_id=app_EMoamEEZ73f0CkXaXp7hrann&redirect_uri=http://localhost:1455/auth/callback&scope=openid profile email offline_access&code_challenge=hW0J5LNS_OLtJzD-a25mQC8So-G7jwLgNcrv8NtteSE&code_challenge_method=S256&id_token_add_organizations=true&codex_cli_simplified_flow=true&state=6_xJ8vN-aWmcSLXKsSWWAyf0WpY0M8P5xOuFfp--c4c&originator=codex_vscode

What is the expected behavior?

That the web page says the authencciate process is completed and I can start using codex on VS Code

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingextensionIssues related to the VS Code extension

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions