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