[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"module-kinde":3,"versions":1331},{"name":4,"description":5,"repo":6,"npm":7,"icon":8,"github":9,"website":10,"learn_more":11,"category":12,"type":13,"maintainers":14,"compatibility":24,"sponsor":27,"generatedAt":28,"contributors":29,"stats":57,"readme":65},"kinde","Kinde authentication integration for Nuxt","nuxt-modules/kinde","@nuxtjs/kinde","kinde.svg","https://github.com/nuxt-modules/kinde","https://www.kinde.com/docs/developer-tools/nuxt-module/","https://www.kinde.com/","Security","community",[15,20],{"name":16,"github":17,"twitter":18,"bluesky":19},"Daniel Roe","danielroe","danielcroe","danielroe.dev",{"name":21,"github":22,"twitter":23},"Dave","DaveOrDead","dave_or_dead",{"nuxt":25,"requires":26},">=3.0.0",{},true,"2026-05-02T04:46:09.908Z",[30,33,37,40,44,47,51,54],{"id":31,"username":17,"contributions":32},28706372,91,{"id":34,"username":35,"contributions":36},1270799,"DanielRivers",17,{"id":38,"username":22,"contributions":39},1312905,5,{"id":41,"username":42,"contributions":43},904724,"atinux",2,{"id":45,"username":46,"contributions":43},30754269,"felix-dolderer",{"id":48,"username":49,"contributions":50},9217515,"GioPat",1,{"id":52,"username":53,"contributions":50},100753878,"joeychilson",{"id":55,"username":56,"contributions":50},25512687,"mod08",{"version":58,"downloads":59,"stars":60,"watchers":60,"forks":61,"defaultBranch":62,"publishedAt":63,"createdAt":64},"0.4.0",1650,89,8,"main",1762515621531,1697624616889,{"data":66,"body":68,"toc":1323},{"title":67,"description":67},"",{"type":69,"children":70},"root",[71,82,90,134,153,167,174,191,233,261,544,565,580,852,865,1050,1055,1061,1068,1073,1080,1085,1090,1095,1101,1120,1126,1317],{"type":72,"tag":73,"props":74,"children":75},"element","p",{},[76],{"type":72,"tag":77,"props":78,"children":81},"img",{"alt":79,"src":80},"nuxt-kinde-social-card","https://github.com/nuxt-modules/kinde/assets/904724/b738708c-3d5c-4d72-b233-22488678cb6e",[],{"type":72,"tag":83,"props":84,"children":86},"h1",{"id":85},"nuxt-kinde",[87],{"type":88,"value":89},"text","Nuxt Kinde",{"type":72,"tag":73,"props":91,"children":92},{},[93,105,115,124],{"type":72,"tag":94,"props":95,"children":99},"a",{"href":96,"rel":97},"https://npmjs.com/package/@nuxtjs/kinde",[98],"nofollow",[100],{"type":72,"tag":77,"props":101,"children":104},{"alt":102,"src":103},"npm version","https://img.shields.io/npm/v/@nuxtjs/kinde/latest.svg?style=flat&colorA=18181B&colorB=28CF8D",[],{"type":72,"tag":94,"props":106,"children":109},{"href":107,"rel":108},"https://npm.chart.dev/@nuxtjs/kinde",[98],[110],{"type":72,"tag":77,"props":111,"children":114},{"alt":112,"src":113},"npm downloads","https://img.shields.io/npm/dm/@nuxtjs/kinde.svg?style=flat&colorA=18181B&colorB=28CF8D",[],{"type":72,"tag":94,"props":116,"children":118},{"href":96,"rel":117},[98],[119],{"type":72,"tag":77,"props":120,"children":123},{"alt":121,"src":122},"License","https://img.shields.io/npm/l/@nuxtjs/kinde.svg?style=flat&colorA=18181B&colorB=28CF8D",[],{"type":72,"tag":94,"props":125,"children":128},{"href":126,"rel":127},"https://nuxt.com",[98],[129],{"type":72,"tag":77,"props":130,"children":133},{"alt":131,"src":132},"Nuxt","https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js",[],{"type":72,"tag":73,"props":135,"children":136},{},[137,144,146,151],{"type":72,"tag":94,"props":138,"children":141},{"href":139,"rel":140},"https://kinde.com/",[98],[142],{"type":88,"value":143},"Kinde",{"type":88,"value":145}," integration for ",{"type":72,"tag":94,"props":147,"children":149},{"href":126,"rel":148},[98],[150],{"type":88,"value":131},{"type":88,"value":152},".",{"type":72,"tag":154,"props":155,"children":156},"ul",{},[157],{"type":72,"tag":158,"props":159,"children":160},"li",{},[161],{"type":72,"tag":94,"props":162,"children":164},{"href":163},"/CHANGELOG.md",[165],{"type":88,"value":166},"✨  Release Notes",{"type":72,"tag":168,"props":169,"children":171},"h2",{"id":170},"quick-setup",[172],{"type":88,"value":173},"Quick Setup",{"type":72,"tag":175,"props":176,"children":177},"ol",{},[178],{"type":72,"tag":158,"props":179,"children":180},{},[181,183,189],{"type":88,"value":182},"Add ",{"type":72,"tag":184,"props":185,"children":187},"code",{"className":186},[],[188],{"type":88,"value":7},{"type":88,"value":190}," dependency to your project",{"type":72,"tag":192,"props":193,"children":197},"pre",{"className":194,"code":195,"language":196,"meta":67,"style":67},"language-bash shiki shiki-themes material-theme-lighter material-theme-lighter material-theme-palenight","npx nuxi@latest module add kinde\n","bash",[198],{"type":72,"tag":184,"props":199,"children":200},{"__ignoreMap":67},[201],{"type":72,"tag":202,"props":203,"children":205},"span",{"class":204,"line":50},"line",[206,212,218,223,228],{"type":72,"tag":202,"props":207,"children":209},{"style":208},"--shiki-light:#E2931D;--shiki-default:#E2931D;--shiki-dark:#FFCB6B",[210],{"type":88,"value":211},"npx",{"type":72,"tag":202,"props":213,"children":215},{"style":214},"--shiki-light:#91B859;--shiki-default:#91B859;--shiki-dark:#C3E88D",[216],{"type":88,"value":217}," nuxi@latest",{"type":72,"tag":202,"props":219,"children":220},{"style":214},[221],{"type":88,"value":222}," module",{"type":72,"tag":202,"props":224,"children":225},{"style":214},[226],{"type":88,"value":227}," add",{"type":72,"tag":202,"props":229,"children":230},{"style":214},[231],{"type":88,"value":232}," kinde\n",{"type":72,"tag":175,"props":234,"children":235},{"start":43},[236],{"type":72,"tag":158,"props":237,"children":238},{},[239,240,245,247,253,255],{"type":88,"value":182},{"type":72,"tag":184,"props":241,"children":243},{"className":242},[],[244],{"type":88,"value":7},{"type":88,"value":246}," to the ",{"type":72,"tag":184,"props":248,"children":250},{"className":249},[],[251],{"type":88,"value":252},"modules",{"type":88,"value":254}," section of ",{"type":72,"tag":184,"props":256,"children":258},{"className":257},[],[259],{"type":88,"value":260},"nuxt.config.ts",{"type":72,"tag":192,"props":262,"children":266},{"className":263,"code":264,"language":265,"meta":67,"style":67},"language-js shiki shiki-themes material-theme-lighter material-theme-lighter material-theme-palenight","export default defineNuxtConfig({\n  modules: ['@nuxtjs/kinde'],\n  kinde: {\n    // This is true by default and adds 'auth-logged-in' and 'auth-logged-out'\n    // middleware to your Nuxt application.\n    // \n    // middleware: false,\n    //\n    // enable the debug `/api/health` endpoint\n    // debug: true,\n    // \n    // Set custom endpoints in case you use any of the default routes for other purposes\n    // endpoints: {\n    //   callback: '/api/callback',\n    //   login: '/api/login',\n    //   register: '/api/register',\n    //   health: '/api/health',\n    //   logout: '/api/logout'\n    //   access: '/api/access'\n    //   portal: '/api/portal'\n    // }\n  }\n})\n","js",[267],{"type":72,"tag":184,"props":268,"children":269},{"__ignoreMap":67},[270,302,344,362,372,380,389,398,406,415,424,432,441,450,459,468,477,485,494,503,512,521,530],{"type":72,"tag":202,"props":271,"children":272},{"class":204,"line":50},[273,279,284,290,296],{"type":72,"tag":202,"props":274,"children":276},{"style":275},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#39ADB5;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[277],{"type":88,"value":278},"export",{"type":72,"tag":202,"props":280,"children":281},{"style":275},[282],{"type":88,"value":283}," default",{"type":72,"tag":202,"props":285,"children":287},{"style":286},"--shiki-light:#6182B8;--shiki-default:#6182B8;--shiki-dark:#82AAFF",[288],{"type":88,"value":289}," defineNuxtConfig",{"type":72,"tag":202,"props":291,"children":293},{"style":292},"--shiki-light:#90A4AE;--shiki-default:#90A4AE;--shiki-dark:#BABED8",[294],{"type":88,"value":295},"(",{"type":72,"tag":202,"props":297,"children":299},{"style":298},"--shiki-light:#39ADB5;--shiki-default:#39ADB5;--shiki-dark:#89DDFF",[300],{"type":88,"value":301},"{\n",{"type":72,"tag":202,"props":303,"children":304},{"class":204,"line":43},[305,311,316,321,326,330,334,339],{"type":72,"tag":202,"props":306,"children":308},{"style":307},"--shiki-light:#E53935;--shiki-default:#E53935;--shiki-dark:#F07178",[309],{"type":88,"value":310},"  modules",{"type":72,"tag":202,"props":312,"children":313},{"style":298},[314],{"type":88,"value":315},":",{"type":72,"tag":202,"props":317,"children":318},{"style":292},[319],{"type":88,"value":320}," [",{"type":72,"tag":202,"props":322,"children":323},{"style":298},[324],{"type":88,"value":325},"'",{"type":72,"tag":202,"props":327,"children":328},{"style":214},[329],{"type":88,"value":7},{"type":72,"tag":202,"props":331,"children":332},{"style":298},[333],{"type":88,"value":325},{"type":72,"tag":202,"props":335,"children":336},{"style":292},[337],{"type":88,"value":338},"]",{"type":72,"tag":202,"props":340,"children":341},{"style":298},[342],{"type":88,"value":343},",\n",{"type":72,"tag":202,"props":345,"children":347},{"class":204,"line":346},3,[348,353,357],{"type":72,"tag":202,"props":349,"children":350},{"style":307},[351],{"type":88,"value":352},"  kinde",{"type":72,"tag":202,"props":354,"children":355},{"style":298},[356],{"type":88,"value":315},{"type":72,"tag":202,"props":358,"children":359},{"style":298},[360],{"type":88,"value":361}," {\n",{"type":72,"tag":202,"props":363,"children":365},{"class":204,"line":364},4,[366],{"type":72,"tag":202,"props":367,"children":369},{"style":368},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#90A4AE;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[370],{"type":88,"value":371},"    // This is true by default and adds 'auth-logged-in' and 'auth-logged-out'\n",{"type":72,"tag":202,"props":373,"children":374},{"class":204,"line":39},[375],{"type":72,"tag":202,"props":376,"children":377},{"style":368},[378],{"type":88,"value":379},"    // middleware to your Nuxt application.\n",{"type":72,"tag":202,"props":381,"children":383},{"class":204,"line":382},6,[384],{"type":72,"tag":202,"props":385,"children":386},{"style":368},[387],{"type":88,"value":388},"    // \n",{"type":72,"tag":202,"props":390,"children":392},{"class":204,"line":391},7,[393],{"type":72,"tag":202,"props":394,"children":395},{"style":368},[396],{"type":88,"value":397},"    // middleware: false,\n",{"type":72,"tag":202,"props":399,"children":400},{"class":204,"line":61},[401],{"type":72,"tag":202,"props":402,"children":403},{"style":368},[404],{"type":88,"value":405},"    //\n",{"type":72,"tag":202,"props":407,"children":409},{"class":204,"line":408},9,[410],{"type":72,"tag":202,"props":411,"children":412},{"style":368},[413],{"type":88,"value":414},"    // enable the debug `/api/health` endpoint\n",{"type":72,"tag":202,"props":416,"children":418},{"class":204,"line":417},10,[419],{"type":72,"tag":202,"props":420,"children":421},{"style":368},[422],{"type":88,"value":423},"    // debug: true,\n",{"type":72,"tag":202,"props":425,"children":427},{"class":204,"line":426},11,[428],{"type":72,"tag":202,"props":429,"children":430},{"style":368},[431],{"type":88,"value":388},{"type":72,"tag":202,"props":433,"children":435},{"class":204,"line":434},12,[436],{"type":72,"tag":202,"props":437,"children":438},{"style":368},[439],{"type":88,"value":440},"    // Set custom endpoints in case you use any of the default routes for other purposes\n",{"type":72,"tag":202,"props":442,"children":444},{"class":204,"line":443},13,[445],{"type":72,"tag":202,"props":446,"children":447},{"style":368},[448],{"type":88,"value":449},"    // endpoints: {\n",{"type":72,"tag":202,"props":451,"children":453},{"class":204,"line":452},14,[454],{"type":72,"tag":202,"props":455,"children":456},{"style":368},[457],{"type":88,"value":458},"    //   callback: '/api/callback',\n",{"type":72,"tag":202,"props":460,"children":462},{"class":204,"line":461},15,[463],{"type":72,"tag":202,"props":464,"children":465},{"style":368},[466],{"type":88,"value":467},"    //   login: '/api/login',\n",{"type":72,"tag":202,"props":469,"children":471},{"class":204,"line":470},16,[472],{"type":72,"tag":202,"props":473,"children":474},{"style":368},[475],{"type":88,"value":476},"    //   register: '/api/register',\n",{"type":72,"tag":202,"props":478,"children":479},{"class":204,"line":36},[480],{"type":72,"tag":202,"props":481,"children":482},{"style":368},[483],{"type":88,"value":484},"    //   health: '/api/health',\n",{"type":72,"tag":202,"props":486,"children":488},{"class":204,"line":487},18,[489],{"type":72,"tag":202,"props":490,"children":491},{"style":368},[492],{"type":88,"value":493},"    //   logout: '/api/logout'\n",{"type":72,"tag":202,"props":495,"children":497},{"class":204,"line":496},19,[498],{"type":72,"tag":202,"props":499,"children":500},{"style":368},[501],{"type":88,"value":502},"    //   access: '/api/access'\n",{"type":72,"tag":202,"props":504,"children":506},{"class":204,"line":505},20,[507],{"type":72,"tag":202,"props":508,"children":509},{"style":368},[510],{"type":88,"value":511},"    //   portal: '/api/portal'\n",{"type":72,"tag":202,"props":513,"children":515},{"class":204,"line":514},21,[516],{"type":72,"tag":202,"props":517,"children":518},{"style":368},[519],{"type":88,"value":520},"    // }\n",{"type":72,"tag":202,"props":522,"children":524},{"class":204,"line":523},22,[525],{"type":72,"tag":202,"props":526,"children":527},{"style":298},[528],{"type":88,"value":529},"  }\n",{"type":72,"tag":202,"props":531,"children":533},{"class":204,"line":532},23,[534,539],{"type":72,"tag":202,"props":535,"children":536},{"style":298},[537],{"type":88,"value":538},"}",{"type":72,"tag":202,"props":540,"children":541},{"style":292},[542],{"type":88,"value":543},")\n",{"type":72,"tag":73,"props":545,"children":546},{},[547,549,555,557,563],{"type":88,"value":548},"Add the following configuration to your ",{"type":72,"tag":184,"props":550,"children":552},{"className":551},[],[553],{"type":88,"value":554},".env",{"type":88,"value":556}," file replacing the values in ",{"type":72,"tag":184,"props":558,"children":560},{"className":559},[],[561],{"type":88,"value":562},"\u003C >",{"type":88,"value":564}," with your Kinde credentials.",{"type":72,"tag":566,"props":567,"children":568},"blockquote",{},[569],{"type":72,"tag":73,"props":570,"children":571},{},[572,578],{"type":72,"tag":573,"props":574,"children":575},"strong",{},[576],{"type":88,"value":577},"NOTE:",{"type":88,"value":579}," The Nuxt Kinde module requires the back-end web API keys",{"type":72,"tag":192,"props":581,"children":583},{"className":194,"code":582,"language":196,"meta":67,"style":67},"NUXT_KINDE_AUDIENCE=\"https://\u003Cyour_kinde_subdomain>.kinde.com/api\" # if you want to use the Management API\nNUXT_KINDE_AUTH_DOMAIN=\"https://\u003Cyour_kinde_subdomain>.kinde.com\"\nNUXT_KINDE_CLIENT_ID=\"\u003Cyour_kinde_client_id>\"\nNUXT_KINDE_CLIENT_SECRET=\"\u003Cyour_kinde_client_secret>\"\nNUXT_KINDE_LOGOUT_REDIRECT_URL=\"http://localhost:3000\"\nNUXT_KINDE_REDIRECT_URL=\"http://localhost:3000/api/callback\"\nNUXT_KINDE_PASSWORD=\u003Ca random password which will be used to encrypt the session cookie>\nNUXT_KINDE_POST_LOGIN_REDIRECT_URL=\"http://localhost:3000/dashboard\"\n",[584],{"type":72,"tag":184,"props":585,"children":586},{"__ignoreMap":67},[587,619,645,670,695,720,745,827],{"type":72,"tag":202,"props":588,"children":589},{"class":204,"line":50},[590,595,600,605,610,614],{"type":72,"tag":202,"props":591,"children":592},{"style":292},[593],{"type":88,"value":594},"NUXT_KINDE_AUDIENCE",{"type":72,"tag":202,"props":596,"children":597},{"style":298},[598],{"type":88,"value":599},"=",{"type":72,"tag":202,"props":601,"children":602},{"style":298},[603],{"type":88,"value":604},"\"",{"type":72,"tag":202,"props":606,"children":607},{"style":214},[608],{"type":88,"value":609},"https://\u003Cyour_kinde_subdomain>.kinde.com/api",{"type":72,"tag":202,"props":611,"children":612},{"style":298},[613],{"type":88,"value":604},{"type":72,"tag":202,"props":615,"children":616},{"style":368},[617],{"type":88,"value":618}," # if you want to use the Management API\n",{"type":72,"tag":202,"props":620,"children":621},{"class":204,"line":43},[622,627,631,635,640],{"type":72,"tag":202,"props":623,"children":624},{"style":292},[625],{"type":88,"value":626},"NUXT_KINDE_AUTH_DOMAIN",{"type":72,"tag":202,"props":628,"children":629},{"style":298},[630],{"type":88,"value":599},{"type":72,"tag":202,"props":632,"children":633},{"style":298},[634],{"type":88,"value":604},{"type":72,"tag":202,"props":636,"children":637},{"style":214},[638],{"type":88,"value":639},"https://\u003Cyour_kinde_subdomain>.kinde.com",{"type":72,"tag":202,"props":641,"children":642},{"style":298},[643],{"type":88,"value":644},"\"\n",{"type":72,"tag":202,"props":646,"children":647},{"class":204,"line":346},[648,653,657,661,666],{"type":72,"tag":202,"props":649,"children":650},{"style":292},[651],{"type":88,"value":652},"NUXT_KINDE_CLIENT_ID",{"type":72,"tag":202,"props":654,"children":655},{"style":298},[656],{"type":88,"value":599},{"type":72,"tag":202,"props":658,"children":659},{"style":298},[660],{"type":88,"value":604},{"type":72,"tag":202,"props":662,"children":663},{"style":214},[664],{"type":88,"value":665},"\u003Cyour_kinde_client_id>",{"type":72,"tag":202,"props":667,"children":668},{"style":298},[669],{"type":88,"value":644},{"type":72,"tag":202,"props":671,"children":672},{"class":204,"line":364},[673,678,682,686,691],{"type":72,"tag":202,"props":674,"children":675},{"style":292},[676],{"type":88,"value":677},"NUXT_KINDE_CLIENT_SECRET",{"type":72,"tag":202,"props":679,"children":680},{"style":298},[681],{"type":88,"value":599},{"type":72,"tag":202,"props":683,"children":684},{"style":298},[685],{"type":88,"value":604},{"type":72,"tag":202,"props":687,"children":688},{"style":214},[689],{"type":88,"value":690},"\u003Cyour_kinde_client_secret>",{"type":72,"tag":202,"props":692,"children":693},{"style":298},[694],{"type":88,"value":644},{"type":72,"tag":202,"props":696,"children":697},{"class":204,"line":39},[698,703,707,711,716],{"type":72,"tag":202,"props":699,"children":700},{"style":292},[701],{"type":88,"value":702},"NUXT_KINDE_LOGOUT_REDIRECT_URL",{"type":72,"tag":202,"props":704,"children":705},{"style":298},[706],{"type":88,"value":599},{"type":72,"tag":202,"props":708,"children":709},{"style":298},[710],{"type":88,"value":604},{"type":72,"tag":202,"props":712,"children":713},{"style":214},[714],{"type":88,"value":715},"http://localhost:3000",{"type":72,"tag":202,"props":717,"children":718},{"style":298},[719],{"type":88,"value":644},{"type":72,"tag":202,"props":721,"children":722},{"class":204,"line":382},[723,728,732,736,741],{"type":72,"tag":202,"props":724,"children":725},{"style":292},[726],{"type":88,"value":727},"NUXT_KINDE_REDIRECT_URL",{"type":72,"tag":202,"props":729,"children":730},{"style":298},[731],{"type":88,"value":599},{"type":72,"tag":202,"props":733,"children":734},{"style":298},[735],{"type":88,"value":604},{"type":72,"tag":202,"props":737,"children":738},{"style":214},[739],{"type":88,"value":740},"http://localhost:3000/api/callback",{"type":72,"tag":202,"props":742,"children":743},{"style":298},[744],{"type":88,"value":644},{"type":72,"tag":202,"props":746,"children":747},{"class":204,"line":391},[748,753,758,762,767,772,777,782,787,792,797,802,807,812,817,822],{"type":72,"tag":202,"props":749,"children":750},{"style":292},[751],{"type":88,"value":752},"NUXT_KINDE_PASSWORD",{"type":72,"tag":202,"props":754,"children":755},{"style":298},[756],{"type":88,"value":757},"=\u003C",{"type":72,"tag":202,"props":759,"children":760},{"style":214},[761],{"type":88,"value":94},{"type":72,"tag":202,"props":763,"children":764},{"style":208},[765],{"type":88,"value":766}," random",{"type":72,"tag":202,"props":768,"children":769},{"style":214},[770],{"type":88,"value":771}," password",{"type":72,"tag":202,"props":773,"children":774},{"style":214},[775],{"type":88,"value":776}," which",{"type":72,"tag":202,"props":778,"children":779},{"style":214},[780],{"type":88,"value":781}," will",{"type":72,"tag":202,"props":783,"children":784},{"style":214},[785],{"type":88,"value":786}," be",{"type":72,"tag":202,"props":788,"children":789},{"style":214},[790],{"type":88,"value":791}," used",{"type":72,"tag":202,"props":793,"children":794},{"style":214},[795],{"type":88,"value":796}," to",{"type":72,"tag":202,"props":798,"children":799},{"style":214},[800],{"type":88,"value":801}," encrypt",{"type":72,"tag":202,"props":803,"children":804},{"style":214},[805],{"type":88,"value":806}," the",{"type":72,"tag":202,"props":808,"children":809},{"style":214},[810],{"type":88,"value":811}," session",{"type":72,"tag":202,"props":813,"children":814},{"style":214},[815],{"type":88,"value":816}," cooki",{"type":72,"tag":202,"props":818,"children":819},{"style":292},[820],{"type":88,"value":821},"e",{"type":72,"tag":202,"props":823,"children":824},{"style":298},[825],{"type":88,"value":826},">\n",{"type":72,"tag":202,"props":828,"children":829},{"class":204,"line":61},[830,835,839,843,848],{"type":72,"tag":202,"props":831,"children":832},{"style":292},[833],{"type":88,"value":834},"NUXT_KINDE_POST_LOGIN_REDIRECT_URL",{"type":72,"tag":202,"props":836,"children":837},{"style":298},[838],{"type":88,"value":599},{"type":72,"tag":202,"props":840,"children":841},{"style":298},[842],{"type":88,"value":604},{"type":72,"tag":202,"props":844,"children":845},{"style":214},[846],{"type":88,"value":847},"http://localhost:3000/dashboard",{"type":72,"tag":202,"props":849,"children":850},{"style":298},[851],{"type":88,"value":644},{"type":72,"tag":73,"props":853,"children":854},{},[855,857,863],{"type":88,"value":856},"You can alternatively set any of these values in your ",{"type":72,"tag":184,"props":858,"children":860},{"className":859},[],[861],{"type":88,"value":862},"nuxt.config",{"type":88,"value":864}," file:",{"type":72,"tag":192,"props":866,"children":870},{"className":867,"code":868,"language":869,"meta":67,"style":67},"language-ts shiki shiki-themes material-theme-lighter material-theme-lighter material-theme-palenight","export default defineNuxtConfig({\n  kinde: {\n    authDomain: 'https://\u003Cyour_kinde_subdomain>.kinde.com',\n    clientId: '\u003Cyour_kinde_client_id>',\n    // You probably don't want to set any of the following directly in your config\n    // as they either shouldn't be committed to version control, or are dependent\n    // on your environment.\n    // \n    // clientSecret: '\u003Cyour_kinde_client_secret>',\n    // redirectURL: 'http://localhost:3000/api/callback',\n    // logoutRedirectURL: 'http://localhost:3000',\n    // postLoginRedirectURL: 'http://localhost:3000/dashboard',\n  }\n})\n","ts",[871],{"type":72,"tag":184,"props":872,"children":873},{"__ignoreMap":67},[874,897,912,941,969,977,985,993,1000,1008,1016,1024,1032,1039],{"type":72,"tag":202,"props":875,"children":876},{"class":204,"line":50},[877,881,885,889,893],{"type":72,"tag":202,"props":878,"children":879},{"style":275},[880],{"type":88,"value":278},{"type":72,"tag":202,"props":882,"children":883},{"style":275},[884],{"type":88,"value":283},{"type":72,"tag":202,"props":886,"children":887},{"style":286},[888],{"type":88,"value":289},{"type":72,"tag":202,"props":890,"children":891},{"style":292},[892],{"type":88,"value":295},{"type":72,"tag":202,"props":894,"children":895},{"style":298},[896],{"type":88,"value":301},{"type":72,"tag":202,"props":898,"children":899},{"class":204,"line":43},[900,904,908],{"type":72,"tag":202,"props":901,"children":902},{"style":307},[903],{"type":88,"value":352},{"type":72,"tag":202,"props":905,"children":906},{"style":298},[907],{"type":88,"value":315},{"type":72,"tag":202,"props":909,"children":910},{"style":298},[911],{"type":88,"value":361},{"type":72,"tag":202,"props":913,"children":914},{"class":204,"line":346},[915,920,924,929,933,937],{"type":72,"tag":202,"props":916,"children":917},{"style":307},[918],{"type":88,"value":919},"    authDomain",{"type":72,"tag":202,"props":921,"children":922},{"style":298},[923],{"type":88,"value":315},{"type":72,"tag":202,"props":925,"children":926},{"style":298},[927],{"type":88,"value":928}," '",{"type":72,"tag":202,"props":930,"children":931},{"style":214},[932],{"type":88,"value":639},{"type":72,"tag":202,"props":934,"children":935},{"style":298},[936],{"type":88,"value":325},{"type":72,"tag":202,"props":938,"children":939},{"style":298},[940],{"type":88,"value":343},{"type":72,"tag":202,"props":942,"children":943},{"class":204,"line":364},[944,949,953,957,961,965],{"type":72,"tag":202,"props":945,"children":946},{"style":307},[947],{"type":88,"value":948},"    clientId",{"type":72,"tag":202,"props":950,"children":951},{"style":298},[952],{"type":88,"value":315},{"type":72,"tag":202,"props":954,"children":955},{"style":298},[956],{"type":88,"value":928},{"type":72,"tag":202,"props":958,"children":959},{"style":214},[960],{"type":88,"value":665},{"type":72,"tag":202,"props":962,"children":963},{"style":298},[964],{"type":88,"value":325},{"type":72,"tag":202,"props":966,"children":967},{"style":298},[968],{"type":88,"value":343},{"type":72,"tag":202,"props":970,"children":971},{"class":204,"line":39},[972],{"type":72,"tag":202,"props":973,"children":974},{"style":368},[975],{"type":88,"value":976},"    // You probably don't want to set any of the following directly in your config\n",{"type":72,"tag":202,"props":978,"children":979},{"class":204,"line":382},[980],{"type":72,"tag":202,"props":981,"children":982},{"style":368},[983],{"type":88,"value":984},"    // as they either shouldn't be committed to version control, or are dependent\n",{"type":72,"tag":202,"props":986,"children":987},{"class":204,"line":391},[988],{"type":72,"tag":202,"props":989,"children":990},{"style":368},[991],{"type":88,"value":992},"    // on your environment.\n",{"type":72,"tag":202,"props":994,"children":995},{"class":204,"line":61},[996],{"type":72,"tag":202,"props":997,"children":998},{"style":368},[999],{"type":88,"value":388},{"type":72,"tag":202,"props":1001,"children":1002},{"class":204,"line":408},[1003],{"type":72,"tag":202,"props":1004,"children":1005},{"style":368},[1006],{"type":88,"value":1007},"    // clientSecret: '\u003Cyour_kinde_client_secret>',\n",{"type":72,"tag":202,"props":1009,"children":1010},{"class":204,"line":417},[1011],{"type":72,"tag":202,"props":1012,"children":1013},{"style":368},[1014],{"type":88,"value":1015},"    // redirectURL: 'http://localhost:3000/api/callback',\n",{"type":72,"tag":202,"props":1017,"children":1018},{"class":204,"line":426},[1019],{"type":72,"tag":202,"props":1020,"children":1021},{"style":368},[1022],{"type":88,"value":1023},"    // logoutRedirectURL: 'http://localhost:3000',\n",{"type":72,"tag":202,"props":1025,"children":1026},{"class":204,"line":434},[1027],{"type":72,"tag":202,"props":1028,"children":1029},{"style":368},[1030],{"type":88,"value":1031},"    // postLoginRedirectURL: 'http://localhost:3000/dashboard',\n",{"type":72,"tag":202,"props":1033,"children":1034},{"class":204,"line":443},[1035],{"type":72,"tag":202,"props":1036,"children":1037},{"style":298},[1038],{"type":88,"value":529},{"type":72,"tag":202,"props":1040,"children":1041},{"class":204,"line":452},[1042,1046],{"type":72,"tag":202,"props":1043,"children":1044},{"style":298},[1045],{"type":88,"value":538},{"type":72,"tag":202,"props":1047,"children":1048},{"style":292},[1049],{"type":88,"value":543},{"type":72,"tag":73,"props":1051,"children":1052},{},[1053],{"type":88,"value":1054},"That's it! You can now use Nuxt Kinde in your Nuxt app ✨",{"type":72,"tag":168,"props":1056,"children":1058},{"id":1057},"composables",[1059],{"type":88,"value":1060},"Composables",{"type":72,"tag":1062,"props":1063,"children":1065},"h3",{"id":1064},"useauth",[1066],{"type":88,"value":1067},"useAuth",{"type":72,"tag":73,"props":1069,"children":1070},{},[1071],{"type":88,"value":1072},"This returns the current auth state, with the following properties.",{"type":72,"tag":1074,"props":1075,"children":1077},"h4",{"id":1076},"loggedin",[1078],{"type":88,"value":1079},"loggedIn",{"type":72,"tag":73,"props":1081,"children":1082},{},[1083],{"type":88,"value":1084},"A boolean that indicates if the user is logged in or not.",{"type":72,"tag":1074,"props":1086,"children":1088},{"id":1087},"user",[1089],{"type":88,"value":1087},{"type":72,"tag":73,"props":1091,"children":1092},{},[1093],{"type":88,"value":1094},"The current logged in user state, or null if the user is not logged in.",{"type":72,"tag":1062,"props":1096,"children":1098},{"id":1097},"usekindeclient",[1099],{"type":88,"value":1100},"useKindeClient",{"type":72,"tag":73,"props":1102,"children":1103},{},[1104,1109,1111,1118],{"type":72,"tag":573,"props":1105,"children":1106},{},[1107],{"type":88,"value":1108},"Server only",{"type":88,"value":1110},". This returns a Kinde client; see ",{"type":72,"tag":94,"props":1112,"children":1115},{"href":1113,"rel":1114},"https://kinde.com/docs/developer-tools/typescript-sdk/",[98],[1116],{"type":88,"value":1117},"Kinde SDK Documentation",{"type":88,"value":1119}," for more details.",{"type":72,"tag":168,"props":1121,"children":1123},{"id":1122},"development",[1124],{"type":88,"value":1125},"Development",{"type":72,"tag":192,"props":1127,"children":1129},{"className":194,"code":1128,"language":196,"meta":67,"style":67},"# Install dependencies\npnpm install\n\n# Generate type stubs\npnpm dev:prepare\n\n# Develop with the playground\npnpm dev\n\n# Build the playground\npnpm dev:build\n\n# Run ESLint\npnpm lint\n\n# Run Vitest\npnpm test\n\n# Release new version\npnpm release\n",[1130],{"type":72,"tag":184,"props":1131,"children":1132},{"__ignoreMap":67},[1133,1141,1154,1162,1170,1182,1189,1197,1209,1216,1224,1236,1243,1251,1263,1270,1278,1290,1297,1305],{"type":72,"tag":202,"props":1134,"children":1135},{"class":204,"line":50},[1136],{"type":72,"tag":202,"props":1137,"children":1138},{"style":368},[1139],{"type":88,"value":1140},"# Install dependencies\n",{"type":72,"tag":202,"props":1142,"children":1143},{"class":204,"line":43},[1144,1149],{"type":72,"tag":202,"props":1145,"children":1146},{"style":208},[1147],{"type":88,"value":1148},"pnpm",{"type":72,"tag":202,"props":1150,"children":1151},{"style":214},[1152],{"type":88,"value":1153}," install\n",{"type":72,"tag":202,"props":1155,"children":1156},{"class":204,"line":346},[1157],{"type":72,"tag":202,"props":1158,"children":1159},{"emptyLinePlaceholder":27},[1160],{"type":88,"value":1161},"\n",{"type":72,"tag":202,"props":1163,"children":1164},{"class":204,"line":364},[1165],{"type":72,"tag":202,"props":1166,"children":1167},{"style":368},[1168],{"type":88,"value":1169},"# Generate type stubs\n",{"type":72,"tag":202,"props":1171,"children":1172},{"class":204,"line":39},[1173,1177],{"type":72,"tag":202,"props":1174,"children":1175},{"style":208},[1176],{"type":88,"value":1148},{"type":72,"tag":202,"props":1178,"children":1179},{"style":214},[1180],{"type":88,"value":1181}," dev:prepare\n",{"type":72,"tag":202,"props":1183,"children":1184},{"class":204,"line":382},[1185],{"type":72,"tag":202,"props":1186,"children":1187},{"emptyLinePlaceholder":27},[1188],{"type":88,"value":1161},{"type":72,"tag":202,"props":1190,"children":1191},{"class":204,"line":391},[1192],{"type":72,"tag":202,"props":1193,"children":1194},{"style":368},[1195],{"type":88,"value":1196},"# Develop with the playground\n",{"type":72,"tag":202,"props":1198,"children":1199},{"class":204,"line":61},[1200,1204],{"type":72,"tag":202,"props":1201,"children":1202},{"style":208},[1203],{"type":88,"value":1148},{"type":72,"tag":202,"props":1205,"children":1206},{"style":214},[1207],{"type":88,"value":1208}," dev\n",{"type":72,"tag":202,"props":1210,"children":1211},{"class":204,"line":408},[1212],{"type":72,"tag":202,"props":1213,"children":1214},{"emptyLinePlaceholder":27},[1215],{"type":88,"value":1161},{"type":72,"tag":202,"props":1217,"children":1218},{"class":204,"line":417},[1219],{"type":72,"tag":202,"props":1220,"children":1221},{"style":368},[1222],{"type":88,"value":1223},"# Build the playground\n",{"type":72,"tag":202,"props":1225,"children":1226},{"class":204,"line":426},[1227,1231],{"type":72,"tag":202,"props":1228,"children":1229},{"style":208},[1230],{"type":88,"value":1148},{"type":72,"tag":202,"props":1232,"children":1233},{"style":214},[1234],{"type":88,"value":1235}," dev:build\n",{"type":72,"tag":202,"props":1237,"children":1238},{"class":204,"line":434},[1239],{"type":72,"tag":202,"props":1240,"children":1241},{"emptyLinePlaceholder":27},[1242],{"type":88,"value":1161},{"type":72,"tag":202,"props":1244,"children":1245},{"class":204,"line":443},[1246],{"type":72,"tag":202,"props":1247,"children":1248},{"style":368},[1249],{"type":88,"value":1250},"# Run ESLint\n",{"type":72,"tag":202,"props":1252,"children":1253},{"class":204,"line":452},[1254,1258],{"type":72,"tag":202,"props":1255,"children":1256},{"style":208},[1257],{"type":88,"value":1148},{"type":72,"tag":202,"props":1259,"children":1260},{"style":214},[1261],{"type":88,"value":1262}," lint\n",{"type":72,"tag":202,"props":1264,"children":1265},{"class":204,"line":461},[1266],{"type":72,"tag":202,"props":1267,"children":1268},{"emptyLinePlaceholder":27},[1269],{"type":88,"value":1161},{"type":72,"tag":202,"props":1271,"children":1272},{"class":204,"line":470},[1273],{"type":72,"tag":202,"props":1274,"children":1275},{"style":368},[1276],{"type":88,"value":1277},"# Run Vitest\n",{"type":72,"tag":202,"props":1279,"children":1280},{"class":204,"line":36},[1281,1285],{"type":72,"tag":202,"props":1282,"children":1283},{"style":208},[1284],{"type":88,"value":1148},{"type":72,"tag":202,"props":1286,"children":1287},{"style":214},[1288],{"type":88,"value":1289}," test\n",{"type":72,"tag":202,"props":1291,"children":1292},{"class":204,"line":487},[1293],{"type":72,"tag":202,"props":1294,"children":1295},{"emptyLinePlaceholder":27},[1296],{"type":88,"value":1161},{"type":72,"tag":202,"props":1298,"children":1299},{"class":204,"line":496},[1300],{"type":72,"tag":202,"props":1301,"children":1302},{"style":368},[1303],{"type":88,"value":1304},"# Release new version\n",{"type":72,"tag":202,"props":1306,"children":1307},{"class":204,"line":505},[1308,1312],{"type":72,"tag":202,"props":1309,"children":1310},{"style":208},[1311],{"type":88,"value":1148},{"type":72,"tag":202,"props":1313,"children":1314},{"style":214},[1315],{"type":88,"value":1316}," release\n",{"type":72,"tag":1318,"props":1319,"children":1320},"style",{},[1321],{"type":88,"value":1322},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":67,"searchDepth":43,"depth":43,"links":1324},[1325,1326,1330],{"id":170,"depth":43,"text":173},{"id":1057,"depth":43,"text":1060,"children":1327},[1328,1329],{"id":1064,"depth":346,"text":1067},{"id":1097,"depth":346,"text":1100},{"id":1122,"depth":43,"text":1125},{"v5":1332,"v4":1333,"v3":1334,"v2":1335},"5 (nightly)","4.4.4","3.21.4","2.18.1"]