Authenticate into self-hosted Tracecat with basic email-and-password sign-in: configure user accounts, password policies, and admin bootstrap for small deployments.
In production, use OIDC or SAML SSO. Basic auth is meant for local development only.
Set the first superadmin’s email before anyone signs in. Until it is set, nobody can register, and the first account must match it. It takes one case-sensitive email address, so use the exact casing your identity provider sends.
Deployment
Setting
Docker Compose
TRACECAT__AUTH_SUPERADMIN_EMAIL in .env
AWS ECS Fargate
TF_VAR_auth_superadmin_email, or auth_superadmin_email in your .tfvars
Kubernetes
tracecat.auth.superadminEmail in values.yaml
Basic auth: sign up with that email, then log in.
SSO: log in through your identity provider. Tracecat creates the account on first login.
The account becomes superadmin and owner of the default organization.
Wrong credentials fail at login with 400 and LOGIN_BAD_CREDENTIALS. A password shorter than TRACECAT__AUTH_MIN_PASSWORD_LENGTH fails with 400 and the code UPDATE_USER_INVALID_PASSWORD.A superadmin resets another account’s password with the same body at PATCH /users/{user_id}, and a non-superadmin session gets 403. Accounts created by OIDC or SAML sign-in hold a generated password and authenticate at the identity provider, so reset those there.
See User management for registration, invitations, and organization membership.
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Tracecat Docs","colors":{"primary":"#6E7ED8","light":"#8E9BE1","dark":"#465ACE"},"logo":{"light":"https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/logos/light.svg?fit=max\u0026auto=format\u0026n=9IEnC4OWdnuB3EvN\u0026q=85\u0026s=3d2dbc720cbb79deb7f22d4e8d710696","dark":"https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/logos/dark.svg?fit=max\u0026auto=format\u0026n=9IEnC4OWdnuB3EvN\u0026q=85\u0026s=c6434257b4852a7282f1942da4f3d965","href":"/overview/introduction"},"favicon":"https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/logos/light.svg?fit=max\u0026auto=format\u0026n=9IEnC4OWdnuB3EvN\u0026q=85\u0026s=3d2dbc720cbb79deb7f22d4e8d710696","navbar":{"links":[{"href":"https://discord.com/invite/H4XZwsYzY4","label":"Discord"}],"primary":{"type":"button","label":"Talk to us","href":"https://tracecat.com/contact"}},"footer":{"socials":{"github":"https://github.com/TracecatHQ/tracecat"}},"fonts":{"family":"Instrument Sans"},"icons":{"library":"lucide"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tracecat","hasAudioNarration":false,"actualSubdomain":"tracecat","customDomains":["docs.tracecat.com"],"gitSource":{"type":"github","owner":"tracecathq","repo":"tracecat","deployBranch":"main","contentDirectory":"docs","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae1277d3590968a302aca25","collectionId":"68fa5cec-1f1e-47e7-a439-1b085fdaf014","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae1277d3590968a302aca25"},"feedback":{"thumbs":true,"issues":false,"edits":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae1277d3590968a302aca25","clientVersion":"0.0.4006","searchFilterCounts":[{"language":"default","tag":"API Reference","count":625},{"language":"default","tag":"Endpoints","count":606},{"language":"default","tag":"Integrations","count":235},{"language":"default","tag":"cases","count":44},{"language":"default","tag":"admin","count":40},{"language":"default","tag":"Automations","count":38},{"language":"default","tag":"Platform","count":29},{"language":"default","tag":"rbac","count":27},{"language":"default","tag":"scim","count":26},{"language":"default","tag":"Core Actions","count":25}]},"assistantConfig":{"enableStarterQuestions":false,"deflection":{"enabled":false,"email":"chris@tracecat.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"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":"billing-updated-9-15","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":"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},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":true},"customCss":[],"page":{"pagePath":"authentication/basic","slug":"/authentication/basic","pageMetadata":{"title":"Basic","description":"Authenticate into self-hosted Tracecat with basic email-and-password sign-in: configure user accounts, password policies, and admin bootstrap for small deployments.","href":"/authentication/basic"},"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: \"Authenticate into self-hosted Tracecat with basic email-and-password sign-in: configure user accounts, password policies, and admin bootstrap for small deployments.\"\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`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,OptimizedImage,Table,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(Warning,{children:_jsx(_components.p,{children:`In production, use OIDC or SAML SSO. Basic auth is meant for local development only.`})}),`\n`,_jsx(Heading,{level:`2`,id:`overview`,children:`Overview`}),`\n`,_jsx(_components.p,{children:`Basic auth lets you sign in to Tracecat with an email and password.`}),`\n`,_jsx(OptimizedImage,{src:`https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/self-hosting/sign-in.png?fit=max\u0026auto=format\u0026n=9IEnC4OWdnuB3EvN\u0026q=85\u0026s=2516cde2176447c7856893cd24cc7f2d`,alt:`Tracecat sign-in`,\"data-og-width\":`2128`,width:`2128`,\"data-og-height\":`1508`,height:`1508`,\"data-path\":`img/self-hosting/sign-in.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/self-hosting/sign-in.png?w=280\u0026fit=max\u0026auto=format\u0026n=9IEnC4OWdnuB3EvN\u0026q=85\u0026s=2148f3e8dc7fcd43becb199874785ee7 280w, https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/self-hosting/sign-in.png?w=560\u0026fit=max\u0026auto=format\u0026n=9IEnC4OWdnuB3EvN\u0026q=85\u0026s=eaf3ffdfca6d5e8564c8e25d424a7f67 560w, https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/self-hosting/sign-in.png?w=840\u0026fit=max\u0026auto=format\u0026n=9IEnC4OWdnuB3EvN\u0026q=85\u0026s=8e01905f989a19cf13230d0b524d1c08 840w, https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/self-hosting/sign-in.png?w=1100\u0026fit=max\u0026auto=format\u0026n=9IEnC4OWdnuB3EvN\u0026q=85\u0026s=4db18a49fe296418a10ced112009f307 1100w, https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/self-hosting/sign-in.png?w=1650\u0026fit=max\u0026auto=format\u0026n=9IEnC4OWdnuB3EvN\u0026q=85\u0026s=f554edee773ca1620a88350c30b36caf 1650w, https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/self-hosting/sign-in.png?w=2500\u0026fit=max\u0026auto=format\u0026n=9IEnC4OWdnuB3EvN\u0026q=85\u0026s=2f951a8dbc38189c7b34494775840581 2500w`}),`\n`,_jsx(Heading,{level:`2`,id:`configuration`,children:`Configuration`}),`\n`,_jsxs(_components.p,{children:[`In your `,_jsx(_components.code,{children:`.env`}),` file, enable the basic auth type:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`TRACECAT__AUTH_TYPES`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`basic`})]}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`You can also combine auth types if you need to:`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`TRACECAT__AUTH_TYPES`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`basic,oidc`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`first-login`,children:`First login`}),`\n`,_jsx(_components.p,{children:`Set the first superadmin’s email before anyone signs in. Until it is set, nobody can register, and the first account must match it. It takes one case-sensitive email address, so use the exact casing your identity provider sends.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{style:{textAlign:`left`},children:`Deployment`}),_jsx(_components.th,{style:{textAlign:`left`},children:`Setting`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Docker Compose`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`TRACECAT__AUTH_SUPERADMIN_EMAIL`}),` in `,_jsx(_components.code,{children:`.env`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`AWS ECS Fargate`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`TF_VAR_auth_superadmin_email`}),`, or `,_jsx(_components.code,{children:`auth_superadmin_email`}),` in your `,_jsx(_components.code,{children:`.tfvars`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{style:{textAlign:`left`},children:`Kubernetes`}),_jsxs(_components.td,{style:{textAlign:`left`},children:[_jsx(_components.code,{children:`tracecat.auth.superadminEmail`}),` in `,_jsx(_components.code,{children:`values.yaml`})]})]})]})]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Basic auth: sign up with that email, then log in.`}),`\n`,_jsx(_components.li,{children:`SSO: log in through your identity provider. Tracecat creates the account on first login.`}),`\n`]}),`\n`,_jsx(_components.p,{children:`The account becomes superadmin and owner of the default organization.`}),`\n`,_jsx(Heading,{level:`2`,id:`minimum-password-length`,children:`Minimum password length`}),`\n`,_jsxs(_components.p,{children:[`When you use basic auth, your password must be at least\n`,_jsx(_components.code,{children:`TRACECAT__AUTH_MIN_PASSWORD_LENGTH`}),` characters long. The default minimum is `,_jsx(_components.code,{children:`12`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`change-password`,children:`Change password`}),`\n`,_jsxs(_components.p,{children:[`Password changes go through the API with the session cookie. Sign in with `,_jsx(_components.code,{children:`POST /auth/login`}),`, then send the new password to `,_jsx(_components.code,{children:`PATCH /users/me`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`hos`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`t`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/api/auth/login`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --cookie-jar`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cookies.txt`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"username=user@example.com\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data-urlencode`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"password=\u003cCURRENT_PASSWORD>\"`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`hos`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`t`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`>`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`/api/users/me`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PATCH`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --cookie`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` cookies.txt`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Content-Type: application/json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` --data`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{\"password\": \"\u003cNEW_PASSWORD>\"}'`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Wrong credentials fail at login with `,_jsx(_components.code,{children:`400`}),` and `,_jsx(_components.code,{children:`LOGIN_BAD_CREDENTIALS`}),`. A password shorter than `,_jsx(_components.code,{children:`TRACECAT__AUTH_MIN_PASSWORD_LENGTH`}),` fails with `,_jsx(_components.code,{children:`400`}),` and the code `,_jsx(_components.code,{children:`UPDATE_USER_INVALID_PASSWORD`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`A superadmin resets another account’s password with the same body at `,_jsx(_components.code,{children:`PATCH /users/{user_id}`}),`, and a non-superadmin session gets `,_jsx(_components.code,{children:`403`}),`. Accounts created by OIDC or SAML sign-in hold a generated password and authenticate at the identity provider, so reset those there.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related-pages`,children:`Related pages`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`See `,_jsx(_components.a,{href:`/manage-platform/users`,children:`User management`}),` for registration, invitations, and organization membership.`]}),`\n`]})]})}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":"Basic","description":"Authenticate into self-hosted Tracecat with basic email-and-password sign-in: configure user accounts, password policies, and admin bootstrap for small deployments.","href":"/authentication/basic"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Overview","slug":"overview","depth":2,"children":[]},{"title":"Configuration","slug":"configuration","depth":2,"children":[]},{"title":"First login","slug":"first-login","depth":2,"children":[]},{"title":"Minimum password length","slug":"minimum-password-length","depth":2,"children":[]},{"title":"Change password","slug":"change-password","depth":2,"children":[]},{"title":"Related pages","slug":"related-pages","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/tracecat/d167008863fd858a/reo.js"],"subdomain":"tracecat","siteName":"Tracecat Docs","title":"Basic - Tracecat Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-25T19:08:06.097Z","originalFileLocation":"authentication/basic.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=\"Authenticate into self-hosted Tracecat with basic email-and-password sign-in: configure user accounts, password policies, and admin bootstrap for small deployments.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Tracecat Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/tracecat/Aw5ZFyf7uzEXliTH/_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/tracecat/Aw5ZFyf7uzEXliTH/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/tracecat/Aw5ZFyf7uzEXliTH/_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/tracecat/Aw5ZFyf7uzEXliTH/_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/tracecat/Aw5ZFyf7uzEXliTH/_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/tracecat/Aw5ZFyf7uzEXliTH/_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/tracecat/Aw5ZFyf7uzEXliTH/_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/tracecat/Aw5ZFyf7uzEXliTH/_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/tracecat/Aw5ZFyf7uzEXliTH/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Basic - Tracecat Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Authenticate into self-hosted Tracecat with basic email-and-password sign-in: configure user accounts, password policies, and admin bootstrap for small deployments.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Tracecat Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.tracecat.com/authentication/basic\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tracecat.mintlify.app/_mintlify/api/og/v2?division=Authentication\u0026amp;title=Basic\u0026amp;description=Authenticate+into+self-hosted+Tracecat+with+basic+email-and-password+sign-in%3A+configure+user+accounts%2C+password+policies%2C+and+admin+bootstrap+for+small+deployme\u0026amp;theme=6898578638808a562268c4f3\u0026amp;signature=0a3e3ebcb513ec8bab53c82d8d3d3535844b08513ce069e1813f5cfbcebcdb6d\">\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=\"Basic - Tracecat Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Authenticate into self-hosted Tracecat with basic email-and-password sign-in: configure user accounts, password policies, and admin bootstrap for small deployments.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tracecat.mintlify.app/_mintlify/api/og/v2?division=Authentication\u0026amp;title=Basic\u0026amp;description=Authenticate+into+self-hosted+Tracecat+with+basic+email-and-password+sign-in%3A+configure+user+accounts%2C+password+policies%2C+and+admin+bootstrap+for+small+deployme\u0026amp;theme=6898578638808a562268c4f3\u0026amp;signature=0a3e3ebcb513ec8bab53c82d8d3d3535844b08513ce069e1813f5cfbcebcdb6d\">\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/tracecat/Aw5ZFyf7uzEXliTH/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Tracecat Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6E7ED8\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.tracecat.com/authentication/basic\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/authentication/basic.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.tracecat.com/#organization\",\"name\":\"Tracecat Docs\",\"url\":\"https://docs.tracecat.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/logos/light.svg?fit=max\u0026auto=format\u0026n=9IEnC4OWdnuB3EvN\u0026q=85\u0026s=3d2dbc720cbb79deb7f22d4e8d710696\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.tracecat.com#website\",\"name\":\"Tracecat Docs\",\"url\":\"https://docs.tracecat.com\",\"publisher\":{\"@id\":\"https://docs.tracecat.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.tracecat.com/authentication/basic#webpage\",\"url\":\"https://docs.tracecat.com/authentication/basic\",\"name\":\"Basic\",\"description\":\"Authenticate into self-hosted Tracecat with basic email-and-password sign-in: configure user accounts, password policies, and admin bootstrap for small deployments.\",\"dateModified\":\"2026-08-25T19:08:06.097Z\",\"isPartOf\":{\"@id\":\"https://docs.tracecat.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.tracecat.com/authentication/basic#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.tracecat.com/authentication/basic#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tracecat Docs\",\"item\":\"https://docs.tracecat.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Basic\",\"item\":\"https://docs.tracecat.com/authentication/basic\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.tracecat.com/authentication/basic#article\",\"headline\":\"Basic\",\"name\":\"Basic\",\"description\":\"Authenticate into self-hosted Tracecat with basic email-and-password sign-in: configure user accounts, password policies, and admin bootstrap for small deployments.\",\"url\":\"https://docs.tracecat.com/authentication/basic\",\"mainEntityOfPage\":{\"@id\":\"https://docs.tracecat.com/authentication/basic#webpage\"},\"dateModified\":\"2026-08-25T19:08:06.097Z\",\"publisher\":{\"@id\":\"https://docs.tracecat.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.tracecat.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Tracecat Docs\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Tracecat Docs","nav":{"global":null,"tabs":[{"tab":"Automations","pages":[{"title":"Automations","href":"/overview/introduction"}]},{"tab":"Cases","pages":[{"title":"Cases","href":"/automations/cases"}]},{"tab":"Core Actions","pages":[{"title":"Core Actions","href":"/automations/core-actions/request-actions/http"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"Cheatsheets","pages":[{"title":"Cheatsheets","href":"/cheatsheets/functions"}]},{"tab":"Platform","groups":[{"group":"Self-hosting","icon":"server","pages":[{"title":"Docker Compose","href":"/self-hosting/docker-compose"},{"title":"Scaling action throughput","sidebarTitle":"Scaling","href":"/self-hosting/scaling"},{"title":"AWS ECS Fargate","href":"/self-hosting/aws-fargate"},{"title":"Kubernetes","href":"/self-hosting/kubernetes"},{"title":"Air-gapped deployment","mode":"wide","href":"/self-hosting/air-gapped"},{"title":"Temporal retention","href":"/self-hosting/temporal-retention"},{"title":"Architecture","href":"/self-hosting/architecture"},{"title":"Set up pgvector","href":"/self-hosting/pgvector"},{"title":"TLS and certificates","href":"/self-hosting/tls"},{"title":"Environment variables","href":"/self-hosting/environment-variables"},{"title":"Security","href":"/self-hosting/security"},{"title":"Get support","href":"/self-hosting/support"}]},{"group":"Manage platform","icon":"settings","pages":[{"title":"User management","href":"/manage-platform/users"},{"title":"Roles and permissions","href":"/manage-platform/rbac"},{"title":"IP allowlist","href":"/manage-platform/ip-allowlist"},{"title":"Custom roles and groups","icon":"lock","href":"/manage-platform/custom-roles"},{"title":"Service accounts","icon":"lock","href":"/manage-platform/service-accounts"},{"title":"Git sync","icon":"lock","href":"/manage-platform/git-sync"},{"title":"Tunnels","description":"Connect Tracecat to private and on-premises services, such as an internal Splunk, through Pangolin tunnels restricted to exact hosts and ports.","icon":"lock","href":"/manage-platform/tunnels"}]},{"group":"Authentication","icon":"shield","pages":[{"title":"Basic","href":"/authentication/basic"},{"title":"SAML SSO","description":"Authenticate into Tracecat with SAML SSO: configure your identity provider, map attributes, and enable single sign-on for organization-wide access.","href":"/authentication/saml"},{"title":"OIDC","href":"/authentication/oidc"},{"title":"Multi-factor authentication","sidebarTitle":"Security keys","href":"/authentication/mfa"},{"title":"SCIM provisioning","icon":"lock","href":"/authentication/scim"}]},{"group":"Security","icon":"shield-check","pages":[{"title":"Architecture","href":"/security/architecture"},{"title":"Platform audit logs","href":"/audit-logs/platform"},{"title":"Organization audit logs","href":"/audit-logs/organization"},{"title":"Organization agent logs","href":"/audit-logs/agents"},{"title":"MCP access logs","href":"/audit-logs/mcp-access"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/authentication"}]}]},"title":"Basic - Tracecat Docs","buildId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","deploymentId":"dpl_2xiSHD9XEvLsPGPcfoMtkLTB3dy9","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-BNnMwe0F.js","lightbox-handle-r17bVUz3.js"]}