{"version":"2.1.326","anchor":"oauth-code-paste-validation-gives-specific-problems","canonical_anchor":"oauth-code-paste-validation-gives-specific-problems","heading":"Pasted sign-in codes are checked and get specific error messages","tier":"notice","area":"Auth","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/oauth-code-paste-validation-gives-specific-problems","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Pasted sign-in codes are checked and get specific error messages\n\nPasted sign-in codes now get a specific message when they are wrong, including on the GitHub Actions setup screen, in place of a generic Invalid code error\n\n**What**\n\nSome sign-in flows ask you to paste a code back into Claude Code. That code used to be checked only for a `code#state` split, and a bad one showed \"Invalid code. Please make sure the full code was copied.\" Pasted codes now go through a parser that names the specific problem:\n\n- A local address, a web link, a short verification code or an incomplete code each get their own message.\n\n- The check that the code belongs to this sign-in is kept: \"That code is not from this sign-in. Paste the code shown after opening the address above.\"\n\n- On the `install-github-app` sign-in screen, the problem is shown inline, below the field. Esc clears the field or goes back. The field hides what you paste with `*`, and the headers and success text were reworded, for example \"Paste code here if prompted\".\n\n**Why**\n\nIf you paste the wrong thing, you are told what is wrong and can fix it on the same screen, without starting over.\n\n- Area: Auth\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}