Ask for a code from an authenticator app every time you sign in.
Two-factor authentication (2FA) adds a second step to signing in. After Google,
GitHub or your email link, Postbase asks for a 6-digit code from an
authenticator app on your phone. It’s optional and free on every plan.Any app that supports time-based codes (TOTP) works: 1Password, Google
Authenticator, Microsoft Authenticator, Authy, Bitwarden and others. SMS codes
aren’t supported.
Turning it on
Open Settings → Security and click Turn on.
Name the device (for example “iPhone”) so you can tell your devices apart.
Scan the QR code with your authenticator app, or type in the key shown
under it.
Enter the 6-digit code the app shows and click Verify and turn on.
From then on, every new sign-in stops at Enter your code until you type a
current code. Sessions you’re already signed in on stay signed in.
Backup devices
Postbase doesn’t issue backup codes. Instead, add a second device as your
backup: Settings → Security → Add a backup device, and scan the new QR code
with another phone, a tablet, or a password manager that stores codes. When you
sign in, pick whichever device you have to hand.You can add up to 5 devices.
A password manager that syncs codes (such as 1Password or Bitwarden) makes a
good backup, since it survives losing your phone.
Removing a device or turning 2FA off
In Settings → Security, click Remove next to a device and enter a current
code. If that device is lost, a code from any of your other devices works.
Removing your last device turns 2FA off.
If you’ve lost every device
Email team@postbase.so
from the address you sign in with. We’ll confirm it’s you, then turn 2FA off on
your account so you can sign in and set it up again. Your scheduled posts keep
going out in the meantime.
API keys and AI tools
2FA protects signing in to the app. It also applies when you connect an AI tool
like Claude or Cursor: the consent screen asks for your code before you can
approve it.API keys and AI tools you’ve already connected keep
working after you turn 2FA on, since they don’t use your sign-in. Revoke any you
don’t recognise on the AI & API page.
Self-hosting
2FA uses Supabase Auth’s TOTP support, which is on by default in every Supabase
project. Run the migrations in supabase/migrations so the database requires a
verified session for workspace data when a user has 2FA on. To reset a user who
has lost every device, delete their factors under Authentication → Users in
the Supabase dashboard.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Postbase","description":"Open-source, MCP-native, multi-channel social scheduler.","colors":{"primary":"#2b59d9","light":"#7aa0ff","dark":"#2b59d9"},"logo":{"light":"https://mintcdn.com/postbase/tqelejpI5Lu39fAa/logo/postbase-light.svg?fit=max\u0026auto=format\u0026n=tqelejpI5Lu39fAa\u0026q=85\u0026s=c08401228db872348d3f78d96b728b38","dark":"https://mintcdn.com/postbase/tqelejpI5Lu39fAa/logo/postbase-dark.svg?fit=max\u0026auto=format\u0026n=tqelejpI5Lu39fAa\u0026q=85\u0026s=4c8968c605df216c97f81f2b2f67fcce"},"favicon":"https://mintcdn.com/postbase/_sv5fTZ_H7JvNf99/favicon.svg?fit=max\u0026auto=format\u0026n=_sv5fTZ_H7JvNf99\u0026q=85\u0026s=02d175b7778662aa954f0e5ab817a055","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"},"server":"https://www.postbase.so/api/v1"}},"navbar":{"links":[{"href":"https://github.com/postbasehq/postbase","label":"GitHub"}],"primary":{"type":"button","label":"Open app","href":"https://www.postbase.so"}},"footer":{"socials":{"x":"https://x.com/postbasehq","github":"https://github.com/postbasehq/postbase"}},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"postbase","hasAudioNarration":false,"actualSubdomain":"postbase","customDomains":["docs.postbase.so"],"gitSource":{"type":"github","owner":"postbasehq","repo":"postbase","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6aca738c638c30d89f4106e0","clientVersion":"0.0.4340","searchFilterCounts":[{"language":"default","tag":"API reference","count":20},{"language":"default","tag":"Public API","count":6},{"language":"default","tag":"Using Postbase","count":6},{"language":"default","tag":"Posts","count":6},{"language":"default","tag":"Webhooks","count":5},{"language":"default","tag":"MCP \u0026 agents","count":4},{"language":"default","tag":"API Reference","count":4},{"language":"default","tag":"Postbase Cloud","count":2},{"language":"default","tag":"Get started","count":2},{"language":"default","tag":"Self-hosting","count":2}]},"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":"custom-rbac-roles","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"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":"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":"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":"site-roles","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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"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":"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":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[]}
{"page":{"pagePath":"using/two-factor","slug":"/using/two-factor","pageMetadata":{"title":"Two-factor authentication","description":"Ask for a code from an authenticator app every time you sign in.","href":"/using/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: \"Ask for a code from an authenticator app every time you sign in.\"\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`,code:`code`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Heading,Tip}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Two-factor authentication (2FA) adds a second step to signing in. After Google,\nGitHub or your email link, Postbase asks for a 6-digit code from an\nauthenticator app on your phone. It’s optional and free on every plan.`}),`\n`,_jsx(_components.p,{children:`Any app that supports time-based codes (TOTP) works: 1Password, Google\nAuthenticator, Microsoft Authenticator, Authy, Bitwarden and others. SMS codes\naren’t supported.`}),`\n`,_jsx(Heading,{level:`2`,id:`turning-it-on`,children:`Turning it on`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open `,_jsx(_components.strong,{children:`Settings → Security`}),` and click `,_jsx(_components.strong,{children:`Turn on`}),`.`]}),`\n`,_jsx(_components.li,{children:`Name the device (for example “iPhone”) so you can tell your devices apart.`}),`\n`,_jsx(_components.li,{children:`Scan the QR code with your authenticator app, or type in the key shown\nunder it.`}),`\n`,_jsxs(_components.li,{children:[`Enter the 6-digit code the app shows and click `,_jsx(_components.strong,{children:`Verify and turn on`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`From then on, every new sign-in stops at `,_jsx(_components.strong,{children:`Enter your code`}),` until you type a\ncurrent code. Sessions you’re already signed in on stay signed in.`]}),`\n`,_jsx(Heading,{level:`2`,id:`backup-devices`,children:`Backup devices`}),`\n`,_jsxs(_components.p,{children:[`Postbase doesn’t issue backup codes. Instead, add a second device as your\nbackup: `,_jsx(_components.strong,{children:`Settings → Security → Add a backup device`}),`, and scan the new QR code\nwith another phone, a tablet, or a password manager that stores codes. When you\nsign in, pick whichever device you have to hand.`]}),`\n`,_jsx(_components.p,{children:`You can add up to 5 devices.`}),`\n`,_jsx(Tip,{children:_jsx(_components.p,{children:`A password manager that syncs codes (such as 1Password or Bitwarden) makes a\ngood backup, since it survives losing your phone.`})}),`\n`,_jsx(Heading,{level:`2`,id:`removing-a-device-or-turning-2fa-off`,children:`Removing a device or turning 2FA off`}),`\n`,_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`Settings → Security`}),`, click `,_jsx(_components.strong,{children:`Remove`}),` next to a device and enter a current\ncode. If that device is lost, a code from any of your other devices works.\nRemoving your last device turns 2FA off.`]}),`\n`,_jsx(Heading,{level:`2`,id:`if-you’ve-lost-every-device`,children:`If you’ve lost every device`}),`\n`,_jsxs(_components.p,{children:[`Email `,_jsx(_components.a,{href:`mailto:team@postbase.so?subject=Two-factor%20reset`,children:`team@postbase.so`}),`\nfrom the address you sign in with. We’ll confirm it’s you, then turn 2FA off on\nyour account so you can sign in and set it up again. Your scheduled posts keep\ngoing out in the meantime.`]}),`\n`,_jsx(Heading,{level:`2`,id:`api-keys-and-ai-tools`,children:`API keys and AI tools`}),`\n`,_jsx(_components.p,{children:`2FA protects signing in to the app. It also applies when you connect an AI tool\nlike Claude or Cursor: the consent screen asks for your code before you can\napprove it.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.a,{href:`/api/authentication`,children:`API keys`}),` and AI tools you’ve already connected keep\nworking after you turn 2FA on, since they don’t use your sign-in. Revoke any you\ndon’t recognise on the `,_jsx(_components.strong,{children:`AI \u0026 API`}),` page.`]}),`\n`,_jsx(Heading,{level:`2`,id:`self-hosting`,children:`Self-hosting`}),`\n`,_jsxs(_components.p,{children:[`2FA uses Supabase Auth’s TOTP support, which is on by default in every Supabase\nproject. Run the migrations in `,_jsx(_components.code,{children:`supabase/migrations`}),` so the database requires a\nverified session for workspace data when a user has 2FA on. To reset a user who\nhas lost every device, delete their factors under `,_jsx(_components.strong,{children:`Authentication → Users`}),` in\nthe Supabase dashboard.`]})]})}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":"Ask for a code from an authenticator app every time you sign in.","href":"/using/two-factor"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Turning it on","slug":"turning-it-on","depth":2,"children":[]},{"title":"Backup devices","slug":"backup-devices","depth":2,"children":[]},{"title":"Removing a device or turning 2FA off","slug":"removing-a-device-or-turning-2fa-off","depth":2,"children":[]},{"title":"If you’ve lost every device","slug":"if-you’ve-lost-every-device","depth":2,"children":[]},{"title":"API keys and AI tools","slug":"api-keys-and-ai-tools","depth":2,"children":[]},{"title":"Self-hosting","slug":"self-hosting","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"postbase","siteName":"Postbase","title":"Two-factor authentication - Postbase","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-06T11:48:48.175Z","originalFileLocation":"using/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=\"Ask for a code from an authenticator app every time you sign in.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Postbase\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/postbase/iPVg3qFUB4pqZpa2/_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/postbase/iPVg3qFUB4pqZpa2/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/postbase/iPVg3qFUB4pqZpa2/_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/postbase/iPVg3qFUB4pqZpa2/_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/postbase/iPVg3qFUB4pqZpa2/_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/postbase/iPVg3qFUB4pqZpa2/_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/postbase/iPVg3qFUB4pqZpa2/_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/postbase/iPVg3qFUB4pqZpa2/_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/postbase/iPVg3qFUB4pqZpa2/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Two-factor authentication - Postbase\">\u003cmeta data-mint-head property=\"og:description\" content=\"Ask for a code from an authenticator app every time you sign in.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Postbase\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.postbase.so/using/two-factor\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://postbase.mintlify.site/_mintlify/api/og/v2?division=Using+Postbase\u0026amp;title=Two-factor+authentication\u0026amp;description=Ask+for+a+code+from+an+authenticator+app+every+time+you+sign+in.\u0026amp;theme=c14d64df935c31d399d79f19\u0026amp;signature=750895148103a28a4b6b3975f55311bc0e098de3d67adebad620582c3d10219f\">\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 - Postbase\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Ask for a code from an authenticator app every time you sign in.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://postbase.mintlify.site/_mintlify/api/og/v2?division=Using+Postbase\u0026amp;title=Two-factor+authentication\u0026amp;description=Ask+for+a+code+from+an+authenticator+app+every+time+you+sign+in.\u0026amp;theme=c14d64df935c31d399d79f19\u0026amp;signature=750895148103a28a4b6b3975f55311bc0e098de3d67adebad620582c3d10219f\">\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/postbase/iPVg3qFUB4pqZpa2/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Postbase\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2b59d9\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.postbase.so/using/two-factor\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/using/two-factor.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.postbase.so/#organization\",\"name\":\"Postbase\",\"url\":\"https://docs.postbase.so\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/postbase/tqelejpI5Lu39fAa/logo/postbase-light.svg?fit=max\u0026auto=format\u0026n=tqelejpI5Lu39fAa\u0026q=85\u0026s=c08401228db872348d3f78d96b728b38\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.postbase.so#website\",\"name\":\"Postbase\",\"url\":\"https://docs.postbase.so\",\"publisher\":{\"@id\":\"https://docs.postbase.so/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.postbase.so/using/two-factor#webpage\",\"url\":\"https://docs.postbase.so/using/two-factor\",\"name\":\"Two-factor authentication\",\"description\":\"Ask for a code from an authenticator app every time you sign in.\",\"dateModified\":\"2026-10-06T11:48:48.175Z\",\"isPartOf\":{\"@id\":\"https://docs.postbase.so#website\"},\"breadcrumb\":{\"@id\":\"https://docs.postbase.so/using/two-factor#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.postbase.so/using/two-factor#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Using Postbase\",\"item\":\"https://docs.postbase.so/using/channels\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Two-factor authentication\",\"item\":\"https://docs.postbase.so/using/two-factor\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.postbase.so/using/two-factor#article\",\"headline\":\"Two-factor authentication\",\"name\":\"Two-factor authentication\",\"description\":\"Ask for a code from an authenticator app every time you sign in.\",\"url\":\"https://docs.postbase.so/using/two-factor\",\"mainEntityOfPage\":{\"@id\":\"https://docs.postbase.so/using/two-factor#webpage\"},\"dateModified\":\"2026-10-06T11:48:48.175Z\",\"publisher\":{\"@id\":\"https://docs.postbase.so/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.postbase.so#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Postbase\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Postbase\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/using/two-factor.md","siteName":"Postbase","nav":{"global":null,"groups":[{"group":"Get started","pages":[{"title":"Introduction","href":"/general/introduction"},{"title":"Quickstart","href":"/general/quickstart"}]},{"group":"Using Postbase","pages":[{"title":"Channels","href":"/using/channels"},{"title":"Composer","href":"/using/composer"},{"title":"Calendar \u0026 queue","href":"/using/calendar"},{"title":"Media library","href":"/using/media"},{"title":"Analytics","description":"See how your published posts perform.","href":"/using/analytics"},{"title":"Two-factor authentication","href":"/using/two-factor"}]},{"group":"AI","pages":[{"title":"Generate media","description":"Create images and short videos with AI, right in the composer.","href":"/ai/generate"}]},{"group":"Postbase Cloud","pages":[{"title":"Plans \u0026 limits","href":"/cloud/plans"},{"title":"Billing","href":"/cloud/billing"}]},{"group":"MCP \u0026 agents","pages":[{"title":"MCP overview","href":"/mcp/overview"},{"title":"Connect a client","href":"/mcp/connect"},{"title":"Tools","href":"/mcp/tools"},{"title":"Agent Skills","href":"/mcp/skills"}]},{"group":"Public API","pages":[{"title":"Authentication","href":"/api/authentication"},{"title":"Posts","href":"/api/posts"},{"title":"Channels","href":"/api/channels"},{"title":"Media","href":"/api/media"},{"title":"Analytics","href":"/api/analytics"},{"title":"Webhooks","href":"/api/webhooks"}]},{"group":"API reference","pages":[{"group":"Account","pages":[{"title":"Check a key","deprecated":null,"version":null,"openapi":"/openapi.json get /me","href":"/api-reference/account/check-a-key"}]},{"group":"Channels","pages":[{"title":"List channels","deprecated":null,"version":null,"openapi":"/openapi.json get /channels","href":"/api-reference/channels/list-channels"}]},{"group":"Posts","pages":[{"title":"List posts","deprecated":null,"version":null,"openapi":"/openapi.json get /posts","href":"/api-reference/posts/list-posts"},{"title":"Create a post","deprecated":null,"version":null,"openapi":"/openapi.json post /posts","href":"/api-reference/posts/create-a-post"},{"title":"Get a post","deprecated":null,"version":null,"openapi":"/openapi.json get /posts/{id}","href":"/api-reference/posts/get-a-post"},{"title":"Edit a post","deprecated":null,"version":null,"openapi":"/openapi.json patch /posts/{id}","href":"/api-reference/posts/edit-a-post"},{"title":"Cancel a post","deprecated":null,"version":null,"openapi":"/openapi.json post /posts/{id}/cancel","href":"/api-reference/posts/cancel-a-post"},{"title":"Retry a post","deprecated":null,"version":null,"openapi":"/openapi.json post /posts/{id}/retry","href":"/api-reference/posts/retry-a-post"}]},{"group":"Media","pages":[{"title":"List media","deprecated":null,"version":null,"openapi":"/openapi.json get /media","href":"/api-reference/media/list-media"},{"title":"Add media from a URL","deprecated":null,"version":null,"openapi":"/openapi.json post /media","href":"/api-reference/media/add-media-from-a-url"}]},{"group":"Analytics","pages":[{"title":"Get analytics","deprecated":null,"version":null,"openapi":"/openapi.json get /analytics","href":"/api-reference/analytics/get-analytics"}]},{"group":"Webhooks","pages":[{"title":"List webhooks","deprecated":null,"version":null,"openapi":"/openapi.json get /webhooks","href":"/api-reference/webhooks/list-webhooks"},{"title":"Add a webhook","deprecated":null,"version":null,"openapi":"/openapi.json post /webhooks","href":"/api-reference/webhooks/add-a-webhook"},{"title":"List deliveries","deprecated":null,"version":null,"openapi":"/openapi.json get /webhooks/{id}","href":"/api-reference/webhooks/list-deliveries"},{"title":"Delete a webhook","deprecated":null,"version":null,"openapi":"/openapi.json delete /webhooks/{id}","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"Send a test event","deprecated":null,"version":null,"openapi":"/openapi.json post /webhooks/{id}/test","href":"/api-reference/webhooks/send-a-test-event"}]},{"group":"API Reference","pages":[{"title":"Postpublished","version":null,"deprecated":null,"openapi":"/openapi.json webhook post.published","href":"/api-reference/postpublished"},{"title":"Postpartial","version":null,"deprecated":null,"openapi":"/openapi.json webhook post.partial","href":"/api-reference/postpartial"},{"title":"Postfailed","version":null,"deprecated":null,"openapi":"/openapi.json webhook post.failed","href":"/api-reference/postfailed"},{"title":"Channelneeds reconnect","version":null,"deprecated":null,"openapi":"/openapi.json webhook channel.needs_reconnect","href":"/api-reference/channelneeds_reconnect"}]}]},{"group":"Self-hosting","pages":[{"title":"Installation","href":"/self-hosting/installation"},{"title":"Configuration","href":"/self-hosting/configuration"}]},{"group":"Contributing","pages":[{"title":"Development","href":"/contributing/development"}]}]},"basePath":"","title":"Two-factor authentication - Postbase","deploymentId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","buildId":"dpl_EtLmMeZHkKGqAjV1DiX4ZXCriDj3","dynamics":[],"chunks":[]}