{"name":"getOAuthToken","slug":"getoauthtoken","family":"setting","title":"Settings keys","noun":"settings key","description":"After a sign-in failure, Claude Code now applies the token from the SDK callback only if it differs from the one already in use","description_source":"entry","described_by":{"version":"2.1.312","anchor":"sdk-oauth-401-recovery-only-swaps-the-token-when-it-differs"},"presence":{"first_seen":null,"removed_in":null,"in_current_build":false,"newest_mined":"2.1.312","builds":0,"mined_builds":153,"first_cited":{"version":"2.1.101","released_at":"2026-04-10 18:41:55","spans":1}},"aliases":[],"entries":[{"version":"2.1.312","anchor":"sdk-oauth-401-recovery-only-swaps-the-token-when-it-differs","heading":"SDK sign-in recovery only swaps the token when it is actually new","line":"After a sign-in failure, Claude Code now applies the token from the SDK callback only if it differs from the one already in use","released_at":"2026-10-27 18:36:10","reason":"named in this entry, found in this entry's text"},{"version":"2.1.119","anchor":"sdk-enhancements","heading":"SDK Enhancements","line":null,"released_at":"2026-04-23 21:36:46","reason":"found in this entry's text"},{"version":"2.1.101","anchor":"oauth-401-recovery-via-sdk-callback","heading":"OAuth 401 Recovery via SDK Callback","line":null,"released_at":"2026-04-10 18:41:55","reason":"found in this entry's text"}],"entries_total":3,"docs":[],"docs_total":0,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/setting\/getoauthtoken","family_url":"https:\/\/changelogs.core-directive.com\/reference\/setting.json"}