Repository navigation
Studio: show an error when ChatGPT sign-in is denied - #16950
Conversation
|
@codex security review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
When connecting a ChatGPT / Codex subscription with "Connect in browser", declining the consent screen (or an account that ChatGPT refuses) sends the browser back to Studio's local callback with an error instead of a code. The browser tab said "Authorization failed", but Studio itself ignored that callback, so the connection screen kept waiting with no message until the sign-in timed out 15 minutes later. Pasting that same callback URL into the Complete box only said the URL had no authorization code and also left the sign-in waiting.
Now a callback that carries an error ends the sign-in right away, in both paths. The connection screen shows "ChatGPT authorization was denied or failed. Start a new connection." and "Connect in browser" can be clicked again. Callbacks with a wrong state are still ignored, so a stray request cannot end a sign-in in progress.