This is documentation for Inertia.js v1, which is no longer actively maintained. Please refer to the v3 docs.
One of the benefits of using Inertia is that you don’t need a special authentication system such as OAuth to connect to your data provider (API). Also, since your data is provided via your controllers, and housed on the same domain as your JavaScript components, you don’t have to worry about setting up CORS.Rather, when using Inertia, you can simply use whatever authentication system your server-side framework ships with. Typically, this will be a session based authentication system such as the authentication system included with Laravel.
Laravel Starter Kits
Laravel’s starter kits provide out-of-the-box scaffolding for new Inertia applications, including authentication.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Inertia.js Documentation","colors":{"primary":"#2563EB","light":"#2563EB","dark":"#2563EB"},"logo":{"light":"https://mintcdn.com/inertiajs/bn08VjbJ_c_aQzAL/logo/light.svg?fit=max\u0026auto=format\u0026n=bn08VjbJ_c_aQzAL\u0026q=85\u0026s=f2f2d86f9100bb768e5253f3cb362a68","dark":"https://mintcdn.com/inertiajs/bn08VjbJ_c_aQzAL/logo/dark.svg?fit=max\u0026auto=format\u0026n=bn08VjbJ_c_aQzAL\u0026q=85\u0026s=65becf915d0a3ccea86facc9dd426631"},"favicon":"https://mintcdn.com/inertiajs/bn08VjbJ_c_aQzAL/favicon.svg?fit=max\u0026auto=format\u0026n=bn08VjbJ_c_aQzAL\u0026q=85\u0026s=f92d2f2b581ae5f845f74ce88b7e08fc","navbar":{},"footer":{"socials":{"x":"https://x.com/inertiajs","github":"https://github.com/inertiajs"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"inertiajs","hasAudioNarration":false,"actualSubdomain":"inertiajs","customDomains":["inertiajs.com"],"gitSource":{"type":"github","owner":"inertiajs","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad7c4c62b5ff80356f2df07","collectionId":"71bd5dba-cef4-42c4-b88a-fd8750232d3b","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad7c4c62b5ff80356f2df07"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ad7c4c62b5ff80356f2df07","clientVersion":"0.0.4021","searchFilterCounts":[{"language":"default","tag":"The Basics","count":37},{"language":"default","tag":"Advanced","count":32},{"language":"default","tag":"Data \u0026 Props","count":22},{"language":"default","tag":"Core Concepts","count":9},{"language":"default","tag":"Getting Started","count":9},{"language":"default","tag":"Security","count":8},{"language":"default","tag":"Installation","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"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":"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":"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":"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":false},"customCss":[{"filePath":"snippets/docs.css","content":"svg[style*=\"regular/s.svg\"]{mask-image:url(/docs/assets/svelte.svg)!important}"},{"filePath":"style.css","content":"/* latin-ext */\n@font-face {\n font-family: 'Instrument Sans';\n font-style: normal;\n font-weight: 400 500;\n font-stretch: 100%;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/instrumentsans/v4/pxiTypc9vsFDm051Uf6KVwgkfoSxQ0GsQv8ToedPibnr0She1YmV.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Instrument Sans';\n font-style: normal;\n font-weight: 400 500;\n font-stretch: 100%;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/instrumentsans/v4/pxiTypc9vsFDm051Uf6KVwgkfoSxQ0GsQv8ToedPibnr0SZe1Q.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* cyrillic-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrodmgPn.woff2) format('woff2');\n unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrMdmgPn.woff2) format('woff2');\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* symbols2 */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFg08vz7ehw.woff2) format('woff2');\n unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;\n}\n/* vietnamese */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrgdmgPn.woff2) format('woff2');\n unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrkdmgPn.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Geist Mono';\n font-style: normal;\n font-weight: 300 600;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/geistmono/v6/or3nQ6H-1_WfwkMZI_qYFrcdmg.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\nbody{font-family:\"Instrument Sans\";font-weight:400}h1,h2,h3,h4{letter-spacing:-.025rem!important}code,pre{font-family:\"Geist Mono\",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace}.font-semibold,b,h1,h2,h3,h4,strong{font-weight:500!important}.prose :where(a):not(:where([class~=\"not-prose\"], [class~=\"not-prose\"] *)){font-weight:500!important;color:rgb(var(--primary-light))!important}.codeblock-dark div:not(:last-child){color:#fafafa}"}],"page":{"pagePath":"v1/advanced/authentication","slug":"/v1/advanced/authentication","pageMetadata":{"title":"Authentication","description":null,"href":"/v1/advanced/authentication"},"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`,..._provideComponents(),...props.components},{Card,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(Warning,{children:[`This is documentation for Inertia.js v1, which is no longer actively maintained. Please refer to the `,_jsx(_components.a,{href:`/v3/getting-started/index`,children:`v3 docs`}),`.`]}),`\n`,_jsx(_components.p,{children:`One of the benefits of using Inertia is that you don’t need a special authentication system such as OAuth to connect to your data provider (API). Also, since your data is provided via your controllers, and housed on the same domain as your JavaScript components, you don’t have to worry about setting up CORS.`}),`\n`,_jsx(_components.p,{children:`Rather, when using Inertia, you can simply use whatever authentication system your server-side framework ships with. Typically, this will be a session based authentication system such as the authentication system included with Laravel.`}),`\n`,_jsx(Card,{icon:`laravel`,title:`Laravel Starter Kits`,href:`https://laravel.com/docs/starter-kits`,arrow:`true`,cta:`Start building`,children:_jsx(_components.p,{children:`Laravel’s starter kits provide out-of-the-box scaffolding for new Inertia applications, including authentication.`})})]})}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":"Authentication","description":null,"href":"/v1/advanced/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/inertiajs/36792f50c91c3c92/snippets/docs.js"],"subdomain":"inertiajs","siteName":"Inertia.js Documentation","title":"Authentication - Inertia.js Documentation","navMaps":{"firstHrefInVersion":{"3.x":{"href":"/v3/advanced/asset-versioning","matchLevel":2},"2.x":{"href":"/v2/advanced/asset-versioning","matchLevel":2},"1.x":{"href":"/v1/advanced/authentication","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-10-01T11:12:54.804Z","originalFileLocation":"v1/advanced/authentication.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=\"application-name\" content=\"Inertia.js Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/inertiajs/EyXVA2gC5ZC6xyfv/_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=\"/docs/mintlify-assets/_mintlify/favicons/inertiajs/EyXVA2gC5ZC6xyfv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/inertiajs/EyXVA2gC5ZC6xyfv/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/inertiajs/EyXVA2gC5ZC6xyfv/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/inertiajs/EyXVA2gC5ZC6xyfv/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/inertiajs/EyXVA2gC5ZC6xyfv/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/inertiajs/EyXVA2gC5ZC6xyfv/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/inertiajs/EyXVA2gC5ZC6xyfv/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/inertiajs/EyXVA2gC5ZC6xyfv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Inertia.js Documentation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Inertia.js Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://inertiajs.com/docs/v1/advanced/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://inertiajs.mintlify.app/_mintlify/api/og/v2?division=Advanced\u0026amp;title=Authentication\u0026amp;theme=aa36b3cd937ed0b43c869952\u0026amp;signature=de4feeb83428f8347a1a6ae928f678918dda9ea6ce39af37f406d64c7e063f33\">\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=\"Authentication - Inertia.js Documentation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://inertiajs.mintlify.app/_mintlify/api/og/v2?division=Advanced\u0026amp;title=Authentication\u0026amp;theme=aa36b3cd937ed0b43c869952\u0026amp;signature=de4feeb83428f8347a1a6ae928f678918dda9ea6ce39af37f406d64c7e063f33\">\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=\"/docs/mintlify-assets/_mintlify/favicons/inertiajs/EyXVA2gC5ZC6xyfv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Inertia.js Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2563EB\">\u003clink data-mint-head rel=\"canonical\" href=\"https://inertiajs.com/docs/v1/advanced/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/v1/advanced/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://inertiajs.com/#organization\",\"name\":\"Inertia.js Documentation\",\"url\":\"https://inertiajs.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/inertiajs/bn08VjbJ_c_aQzAL/logo/light.svg?fit=max\u0026auto=format\u0026n=bn08VjbJ_c_aQzAL\u0026q=85\u0026s=f2f2d86f9100bb768e5253f3cb362a68\"}},{\"@type\":\"WebSite\",\"@id\":\"https://inertiajs.com/docs#website\",\"name\":\"Inertia.js Documentation\",\"url\":\"https://inertiajs.com/docs\",\"publisher\":{\"@id\":\"https://inertiajs.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://inertiajs.com/docs/v1/advanced/authentication#webpage\",\"url\":\"https://inertiajs.com/docs/v1/advanced/authentication\",\"name\":\"Authentication\",\"dateModified\":\"2026-10-01T11:12:54.804Z\",\"isPartOf\":{\"@id\":\"https://inertiajs.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://inertiajs.com/docs/v1/advanced/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://inertiajs.com/docs/v1/advanced/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Advanced\",\"item\":\"https://inertiajs.com/docs/v1/advanced/events\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://inertiajs.com/docs/v1/advanced/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://inertiajs.com/docs/v1/advanced/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"url\":\"https://inertiajs.com/docs/v1/advanced/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://inertiajs.com/docs/v1/advanced/authentication#webpage\"},\"dateModified\":\"2026-10-01T11:12:54.804Z\",\"publisher\":{\"@id\":\"https://inertiajs.com/#organization\"},\"isPartOf\":{\"@id\":\"https://inertiajs.com/docs#website\"}}]}\u003c/script>","siteName":"Inertia.js Documentation","nav":{"global":{},"versions":[{"version":"3.x","pages":[{"title":"3.x","href":"/v3/advanced/asset-versioning"}]},{"version":"2.x","pages":[{"title":"2.x","href":"/v2/advanced/asset-versioning"}]},{"version":"1.x","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/v1/getting-started"},{"title":"Demo Application","href":"/v1/getting-started/demo-application"},{"title":"Upgrade Guide for v1.0","href":"/v1/getting-started/upgrade-guide"}]},{"group":"Installation","pages":[{"title":"Server-side Setup","href":"/v1/installation/server-side-setup"},{"title":"Client-side Setup","href":"/v1/installation/client-side-setup"}]},{"group":"Core Concepts","pages":[{"title":"Who Is Inertia.js For?","href":"/v1/core-concepts/who-is-it-for"},{"title":"How It Works","href":"/v1/core-concepts/how-it-works"},{"title":"The Protocol","href":"/v1/core-concepts/the-protocol"}]},{"group":"The Basics","pages":[{"title":"Pages","href":"/v1/the-basics/pages"},{"title":"Responses","href":"/v1/the-basics/responses"},{"title":"Redirects","href":"/v1/the-basics/redirects"},{"title":"Routing","href":"/v1/the-basics/routing"},{"title":"Title \u0026 Meta","href":"/v1/the-basics/title-and-meta"},{"title":"Links","href":"/v1/the-basics/links"},{"title":"Manual Visits","href":"/v1/the-basics/manual-visits"},{"title":"Forms","href":"/v1/the-basics/forms"},{"title":"File Uploads","href":"/v1/the-basics/file-uploads"},{"title":"Validation","href":"/v1/the-basics/validation"},{"title":"Shared Data","href":"/v1/the-basics/shared-data"}]},{"group":"Advanced","pages":[{"title":"Events","href":"/v1/advanced/events"},{"title":"Testing","href":"/v1/advanced/testing"},{"title":"Partial Reloads","href":"/v1/advanced/partial-reloads"},{"title":"Scroll Management","description":null,"href":"/v1/advanced/scroll-management"},{"title":"Authentication","href":"/v1/advanced/authentication"},{"title":"Authorization","description":null,"href":"/v1/advanced/authorization"},{"title":"CSRF Protection","href":"/v1/advanced/csrf-protection"},{"title":"Error Handling","href":"/v1/advanced/error-handling"},{"title":"Asset Versioning","href":"/v1/advanced/asset-versioning"},{"title":"Progress Indicators","href":"/v1/advanced/progress-indicators"},{"title":"Remembering State","href":"/v1/advanced/remembering-state"},{"title":"Server-Side Rendering (SSR)","href":"/v1/advanced/server-side-rendering"}]}]}]},"title":"Authentication - Inertia.js Documentation","buildId":"dpl_DGmhKsAzJdVqypJzon18vViniWRY","deploymentId":"dpl_DGmhKsAzJdVqypJzon18vViniWRY","dynamics":[],"chunks":[]}