Add a second step to your CodeCobra sign-in with an authenticator app, backup codes and trusted devices.
Two-factor authentication means a stolen password isn’t enough to get into your account. CodeCobra uses time-based codes from an authenticator app — Google Authenticator, 1Password, Authy, or any other.
Each backup code works once, and gets you in when your authenticator isn’t available — phone lost, replaced, or simply not with you.If you use several, or you think the list has been seen by someone else, regenerate them from Settings → Security. Regenerating invalidates every previous code.
Backup codes are the only way back into your account if you lose your authenticator. Store them before you need them — we cannot recover an account without them.
After signing in with a code, you can mark that browser as trusted so it stops asking every time. Convenient on your own laptop; don’t do it on a shared machine.Settings → Security lists every trusted device. You can revoke one, or revoke all of them at once — worth doing if a laptop goes missing.
You can disable two-factor from Settings → Security, confirming with a current code.If your workspace requires two-factor, you can’t turn it off while you’re a member. See requiring 2FA for your workspace.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CodeCobra","colors":{"primary":"#16A34A","light":"#4ADE80","dark":"#15803D"},"logo":{"light":"https://mintcdn.com/rooteam/ZjWZy-Fv5eN6NLjR/images/file.svg?fit=max\u0026auto=format\u0026n=ZjWZy-Fv5eN6NLjR\u0026q=85\u0026s=9e8c21b1d5a2894c24e8dac1fa5f737c","dark":"https://mintcdn.com/rooteam/jQjrykmEoo3G0v-A/images/logo-light.svg?fit=max\u0026auto=format\u0026n=jQjrykmEoo3G0v-A\u0026q=85\u0026s=6e301bf2bb33ff26daefed0c75b4a45b","href":"https://codecobra.ai/"},"favicon":"https://mintcdn.com/rooteam/jQjrykmEoo3G0v-A/favicon.svg?fit=max\u0026auto=format\u0026n=jQjrykmEoo3G0v-A\u0026q=85\u0026s=12e841861a8dfc86573053c01e230043","navbar":{"links":[{"href":"https://codecobra.ai/blog","label":"Blog"},{"href":"https://codecobra.ai/support","label":"Support"},{"href":"https://codecobra.ai/login","label":"Sign In"}],"primary":{"type":"button","label":"Get Started Free","href":"https://codecobra.ai"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/codecobra","website":"https://codecobra.ai"}},"search":{"prompt":"Ask me how CodeCobra works"},"seo":{"organization":{"id":"https://codecobra.ai/#organization","name":"CodeCobra","legalName":"Rooteam.com Inc","url":"https://codecobra.ai","sameAs":["https://www.linkedin.com/company/codecobra/"]},"indexing":"navigable"},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"rooteam","hasAudioNarration":false,"actualSubdomain":"rooteam","customDomains":["docs.codecobra.ai"],"gitSource":{"type":"github","owner":"rooteam","repo":"seacobra","deployBranch":"master","contentDirectory":"mint","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ac4832c7c2921fdba0c92ed","collectionId":"d2ea8d4a-35f3-44ab-990b-76b15830b35f","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ac4832c7c2921fdba0c92ed"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ac5469383fcdf297018401d","clientVersion":"0.0.3971","searchFilterCounts":[{"language":"default","tag":"API reference","count":149},{"language":"default","tag":"Endpoints","count":146},{"language":"default","tag":"Guides","count":32},{"language":"default","tag":"Projects","count":21},{"language":"default","tag":"Tasks","count":21},{"language":"default","tag":"Odoo Connections","count":20},{"language":"default","tag":"Billing","count":19},{"language":"default","tag":"Members \u0026 Invitations","count":16},{"language":"default","tag":"Plans \u0026 Artifacts","count":13},{"language":"default","tag":"Workspace Billing","count":11}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"security/two-factor","slug":"/security/two-factor","pageMetadata":{"title":"Two-factor authentication","description":"Add a second step to your CodeCobra sign-in with an authenticator app, backup codes and trusted devices.","keywords":["2fa","two-factor","totp","authenticator","backup codes","security","trusted devices"],"href":"/security/two-factor"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Add a second step to your CodeCobra sign-in with an authenticator app, backup codes and trusted devices.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Heading,Step,Steps,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Two-factor authentication means a stolen password isn’t enough to get into your account. CodeCobra uses time-based codes from an authenticator app — Google Authenticator, 1Password, Authy, or any other.`}),`\n`,_jsx(Heading,{level:`2`,id:`turning-it-on`,children:`Turning it on`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Open Settings → Security`,children:_jsx(_components.p,{children:`Find the Two-factor authentication section.`})}),_jsx(Step,{title:`Scan the QR code`,children:_jsx(_components.p,{children:`Your authenticator app adds CodeCobra and starts generating six-digit codes. If you can’t scan, there’s a text key to type in instead.`})}),_jsx(Step,{title:`Confirm with a code`,children:_jsx(_components.p,{children:`Enter the current code to prove the app is set up correctly. Two-factor is now active.`})}),_jsx(Step,{title:`Save your backup codes`,children:_jsxs(_components.p,{children:[`You get a set of one-time backup codes. `,_jsx(_components.strong,{children:`Save them somewhere you can reach without your phone`}),` — a password manager, or printed and filed.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`backup-codes`,children:`Backup codes`}),`\n`,_jsx(_components.p,{children:`Each backup code works once, and gets you in when your authenticator isn’t available — phone lost, replaced, or simply not with you.`}),`\n`,_jsx(_components.p,{children:`If you use several, or you think the list has been seen by someone else, regenerate them from Settings → Security. Regenerating invalidates every previous code.`}),`\n`,_jsx(Warning,{children:`Backup codes are the only way back into your account if you lose your authenticator. Store them before you need them — we cannot recover an account without them.`}),`\n`,_jsx(Heading,{level:`2`,id:`trusted-devices`,children:`Trusted devices`}),`\n`,_jsx(_components.p,{children:`After signing in with a code, you can mark that browser as trusted so it stops asking every time. Convenient on your own laptop; don’t do it on a shared machine.`}),`\n`,_jsx(_components.p,{children:`Settings → Security lists every trusted device. You can revoke one, or revoke all of them at once — worth doing if a laptop goes missing.`}),`\n`,_jsx(Heading,{level:`2`,id:`turning-it-off`,children:`Turning it off`}),`\n`,_jsx(_components.p,{children:`You can disable two-factor from Settings → Security, confirming with a current code.`}),`\n`,_jsxs(_components.p,{children:[`If your workspace requires two-factor, you can’t turn it off while you’re a member. See `,_jsx(_components.a,{href:`/security/enforce-2fa-for-your-org`,children:`requiring 2FA for your workspace`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Two-factor authentication","description":"Add a second step to your CodeCobra sign-in with an authenticator app, backup codes and trusted devices.","keywords":["2fa","two-factor","totp","authenticator","backup codes","security","trusted devices"],"href":"/security/two-factor"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Turning it on","slug":"turning-it-on","depth":2,"children":[]},{"title":"Backup codes","slug":"backup-codes","depth":2,"children":[]},{"title":"Trusted devices","slug":"trusted-devices","depth":2,"children":[]},{"title":"Turning it off","slug":"turning-it-off","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"rooteam","siteName":"CodeCobra","title":"Two-factor authentication - CodeCobra","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-09-23T02:19:45.016Z","originalFileLocation":"security/two-factor.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Add a second step to your CodeCobra sign-in with an authenticator app, backup codes and trusted devices.\">\u003cmeta data-mint-head name=\"application-name\" content=\"CodeCobra\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rooteam/kOvF8eXIILyBQ68C/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/rooteam/kOvF8eXIILyBQ68C/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rooteam/kOvF8eXIILyBQ68C/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rooteam/kOvF8eXIILyBQ68C/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rooteam/kOvF8eXIILyBQ68C/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/rooteam/kOvF8eXIILyBQ68C/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/rooteam/kOvF8eXIILyBQ68C/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/rooteam/kOvF8eXIILyBQ68C/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/rooteam/kOvF8eXIILyBQ68C/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Two-factor authentication - CodeCobra\">\u003cmeta data-mint-head property=\"og:description\" content=\"Add a second step to your CodeCobra sign-in with an authenticator app, backup codes and trusted devices.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CodeCobra\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.codecobra.ai/security/two-factor\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://rooteam.mintlify.app/_mintlify/api/og/v2?division=Security\u0026amp;title=Two-factor+authentication\u0026amp;description=Add+a+second+step+to+your+CodeCobra+sign-in+with+an+authenticator+app%2C+backup+codes+and+trusted+devices.\u0026amp;theme=2f8a691ae13d9be2f40976aa\u0026amp;signature=2b65ac713a89e745c07c5982cafc1f2917e8237421857474120643bc7a435eaf\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Two-factor authentication - CodeCobra\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Add a second step to your CodeCobra sign-in with an authenticator app, backup codes and trusted devices.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://rooteam.mintlify.app/_mintlify/api/og/v2?division=Security\u0026amp;title=Two-factor+authentication\u0026amp;description=Add+a+second+step+to+your+CodeCobra+sign-in+with+an+authenticator+app%2C+backup+codes+and+trusted+devices.\u0026amp;theme=2f8a691ae13d9be2f40976aa\u0026amp;signature=2b65ac713a89e745c07c5982cafc1f2917e8237421857474120643bc7a435eaf\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/rooteam/kOvF8eXIILyBQ68C/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CodeCobra\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16A34A\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.codecobra.ai/security/two-factor\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/security/two-factor.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://codecobra.ai/#organization\",\"name\":\"CodeCobra\",\"legalName\":\"Rooteam.com Inc\",\"url\":\"https://codecobra.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/rooteam/ZjWZy-Fv5eN6NLjR/images/file.svg?fit=max\u0026auto=format\u0026n=ZjWZy-Fv5eN6NLjR\u0026q=85\u0026s=9e8c21b1d5a2894c24e8dac1fa5f737c\"},\"sameAs\":[\"https://www.linkedin.com/company/codecobra/\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.codecobra.ai#website\",\"name\":\"CodeCobra\",\"url\":\"https://docs.codecobra.ai\",\"publisher\":{\"@id\":\"https://codecobra.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.codecobra.ai/security/two-factor#webpage\",\"url\":\"https://docs.codecobra.ai/security/two-factor\",\"name\":\"Two-factor authentication\",\"description\":\"Add a second step to your CodeCobra sign-in with an authenticator app, backup codes and trusted devices.\",\"dateModified\":\"2026-09-23T02:19:45.016Z\",\"isPartOf\":{\"@id\":\"https://docs.codecobra.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.codecobra.ai/security/two-factor#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.codecobra.ai/security/two-factor#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Security\",\"item\":\"https://docs.codecobra.ai/security/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Two-factor authentication\",\"item\":\"https://docs.codecobra.ai/security/two-factor\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.codecobra.ai/security/two-factor#article\",\"headline\":\"Two-factor authentication\",\"name\":\"Two-factor authentication\",\"description\":\"Add a second step to your CodeCobra sign-in with an authenticator app, backup codes and trusted devices.\",\"url\":\"https://docs.codecobra.ai/security/two-factor\",\"mainEntityOfPage\":{\"@id\":\"https://docs.codecobra.ai/security/two-factor#webpage\"},\"dateModified\":\"2026-09-23T02:19:45.016Z\",\"keywords\":\"2fa, two-factor, totp, authenticator, backup codes, security, trusted devices\",\"publisher\":{\"@id\":\"https://codecobra.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.codecobra.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CodeCobra\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"CodeCobra","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Get started","pages":[{"title":"Welcome to CodeCobra","href":""},{"title":"Quickstart","href":"/getting-started/quickstart"},{"title":"Create your account","href":"/getting-started/create-account"},{"title":"Connect your Odoo","href":"/getting-started/connect-your-odoo"}]},{"group":"Ask and analyse","pages":[{"title":"Ask and analyse","href":"/ask/overview"},{"title":"Answer a question","href":"/ask/answer-a-question"},{"title":"Explore and learn Odoo","href":"/ask/explore-odoo"}]},{"group":"Deliverables","pages":[{"title":"Deliverables","href":"/deliverables/overview"},{"title":"Spreadsheets","href":"/deliverables/spreadsheets"},{"title":"Documents and decks","href":"/deliverables/documents-and-decks"},{"title":"Dashboards and web pages","href":"/deliverables/dashboards"}]},{"group":"Build and change","pages":[{"title":"Tasks","href":"/tasks/overview"},{"title":"Create a task","href":"/tasks/create-task"},{"title":"Plan and develop","href":"/tasks/plan-and-develop"},{"title":"Build a website or storefront","href":"/building/website-and-storefront"},{"title":"Review and deploy","href":"/tasks/review-and-deploy"}]},{"group":"Projects","pages":[{"title":"Projects","href":"/projects/overview"},{"title":"Create a project","href":"/projects/create-project"},{"title":"GitHub integration","href":"/projects/github-integration"},{"title":"Connect an Odoo environment","href":"/projects/odoo-environments"}]},{"group":"Workspaces","pages":[{"title":"Workspaces","href":"/organizations/overview"},{"title":"Members and roles","href":"/organizations/members-and-roles"}]},{"group":"Billing","pages":[{"title":"Billing","href":"/billing/overview"},{"title":"Capability classes and rates","href":"/billing/model-tiers"},{"title":"Manage payment methods","href":"/billing/manage-payments"}]},{"group":"Security","pages":[{"title":"Security","description":"How CodeCobra protects your Odoo credentials, your data and your production systems.","href":"/security/overview"},{"title":"Two-factor authentication","href":"/security/two-factor"},{"title":"Require 2FA for your workspace","description":"Make two-factor authentication mandatory for everyone in your workspace, with a grace period to get set up.","href":"/security/enforce-2fa-for-your-org"},{"title":"Data retention","href":"/security/data-retention"}]},{"group":"Account","pages":[{"title":"Settings","href":"/settings"},{"title":"Support","href":"/support"},{"title":"Frequently asked questions","href":"/faq"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api/overview"}]}]},"title":"Two-factor authentication - CodeCobra","buildId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","deploymentId":"dpl_DFJrtvUi8HS5F9nkooKuDJsuD5BM","dynamics":[],"chunks":[]}