[{"data":1,"prerenderedAt":910,"buildId":911},["ShallowReactive",2],{"docs-navigation-en":3,"examples-en":50,"page-\u002Fdocs\u002Fsites-without-users":237,"surround-\u002Fdocs\u002Fsites-without-users":905},[4],{"title":5,"path":6,"stem":7,"children":8,"page":49},"Docs","\u002Fdocs","docs",[9,13,17,21,25,29,33,37,41,45],{"title":10,"path":11,"stem":12},"Getting started","\u002Fdocs\u002Fgetting-started","docs\u002F01.getting-started",{"title":14,"path":15,"stem":16},"verifyUser","\u002Fdocs\u002Fverify-user","docs\u002F02.verify-user",{"title":18,"path":19,"stem":20},"Sites without users","\u002Fdocs\u002Fsites-without-users","docs\u002F03.sites-without-users",{"title":22,"path":23,"stem":24},"Build-time route check","\u002Fdocs\u002Froute-coverage","docs\u002F04.route-coverage",{"title":26,"path":27,"stem":28},"Public routes","\u002Fdocs\u002Fpublic-routes","docs\u002F05.public-routes",{"title":30,"path":31,"stem":32},"Same-origin writes","\u002Fdocs\u002Fsame-origin","docs\u002F06.same-origin",{"title":34,"path":35,"stem":36},"Scope and caching","\u002Fdocs\u002Fscope","docs\u002F07.scope",{"title":38,"path":39,"stem":40},"Configuration","\u002Fdocs\u002Fconfiguration","docs\u002F08.configuration",{"title":42,"path":43,"stem":44},"Migrating an existing BFF guard","\u002Fdocs\u002Fmigration","docs\u002F09.migration",{"title":46,"path":47,"stem":48},"Contributing","\u002Fdocs\u002Fcontributing","docs\u002F10.contributing",false,[51,61,69,77,83,90,98,106,113,122,131,138,146,153,159,166,174,180,188,194,202,208,215,221,229],{"path":52,"title":53,"description":54,"category":55,"order":56,"uses":57},"\u002Fexamples\u002Fcontact-form","Contact form on a corporate site","A mail-sending route that only your own pages can call, with a bot check and a rate limit.","visitor",1,[58,59,60],"access: 'visitor'","@nuxtjs\u002Fturnstile","nuxt-security",{"path":62,"title":63,"description":64,"category":55,"order":65,"uses":66},"\u002Fexamples\u002Fpaid-api-proxy","Search box that calls a paid API","Keep other sites and scripts from spending your API quota through your BFF.",2,[58,67,68],"rateLimiter","defineCachedFunction",{"path":70,"title":71,"description":72,"category":55,"order":73,"uses":74},"\u002Fexamples\u002Fclient-data","JSON for client-side pages","Data that your pages fetch in the browser, kept from being embedded by other sites.",3,[58,75,76],"access: 'public'","useFetch",{"path":78,"title":79,"description":80,"category":55,"order":81,"uses":82},"\u002Fexamples\u002Fmember-site-contact","Visitor routes inside a member app","Keep 'user' as the default and open a few routes to visitors without accounts.",4,[58,14],{"path":84,"title":85,"description":86,"category":87,"order":56,"uses":88},"\u002Fexamples\u002Fnuxt-auth-utils","nuxt-auth-utils","Use the sealed Cookie session of nuxt-auth-utils as the user check.","auth",[85,89],"requireUserSession",{"path":91,"title":92,"description":93,"category":87,"order":65,"uses":94},"\u002Fexamples\u002Fsidebase-nuxt-auth","Auth.js with @sidebase\u002Fnuxt-auth","Check the Auth.js session, and accept the same JWT as a Bearer token.",[95,96,97],"@sidebase\u002Fnuxt-auth","getServerSession","getToken",{"path":99,"title":100,"description":101,"category":87,"order":73,"uses":102},"\u002Fexamples\u002Fsupabase","Supabase","Verify the Supabase session with getClaims, and tell bad tokens from outages.",[103,104,105],"@nuxtjs\u002Fsupabase","getClaims","isAuthRetryableFetchError",{"path":107,"title":108,"description":109,"category":87,"order":81,"uses":110},"\u002Fexamples\u002Fclerk","Clerk","Read the auth object that Clerk's middleware put on the event.",[111,112],"@clerk\u002Fnuxt","event.context.auth",{"path":114,"title":115,"description":116,"category":87,"order":117,"uses":118},"\u002Fexamples\u002Ffirebase","Firebase Authentication","Session Cookies for the browser, ID tokens for apps, and error codes mapped to 401 or 503.",5,[119,120,121],"firebase-admin","verifySessionCookie","verifyIdToken",{"path":123,"title":124,"description":125,"category":87,"order":126,"uses":127},"\u002Fexamples\u002Fjwt-jose","Any OpenID Connect provider (JWT)","Verify access tokens from Auth0, Keycloak, Cognito, Entra ID and others with jose.",6,[128,129,130],"jose","jwtVerify","createRemoteJWKSet",{"path":132,"title":133,"description":134,"category":135,"order":56,"uses":136},"\u002Fexamples\u002Fnuxt-security-rate-limit","Rate limits with nuxt-security","Slow down credential stuffing and token guessing before verifyUser runs.","security",[60,67,137],"routeRules",{"path":139,"title":140,"description":141,"category":135,"order":65,"uses":142},"\u002Fexamples\u002Fnuxt-security-headers","Headers, CSP and request limits with nuxt-security","A baseline nuxt-security setup next to the guard, tuned for a BFF.",[60,143,144,145],"headers","requestSizeLimiter","allowedMethodsRestricter",{"path":147,"title":148,"description":149,"category":135,"order":73,"uses":150},"\u002Fexamples\u002Fnuxt-csurf","CSRF tokens with nuxt-csurf","Add a synchronizer token on top of the origin check, without breaking Bearer clients.",[151,152,137],"nuxt-csurf","useCsrfFetch",{"path":154,"title":155,"description":156,"category":135,"order":81,"uses":157},"\u002Fexamples\u002Fturnstile","Bot checks on public routes with Turnstile","Public sign-in and sign-up routes skip verifyUser, so give them their own check.",[59,158],"verifyTurnstileToken",{"path":160,"title":161,"description":162,"category":135,"order":117,"uses":163},"\u002Fexamples\u002Fcors-bearer-clients","A frontend on another origin","CORS with nuxt-security for a separate app that calls the BFF with Bearer tokens.",[60,164,165],"corsHandler","viaBearer",{"path":167,"title":168,"description":169,"category":170,"order":56,"uses":171},"\u002Fexamples\u002Frecord-authorization","Per-record authorization","The guard says who the user is. The handler decides what they may touch.","patterns",[172,173],"event.context","createError",{"path":175,"title":176,"description":177,"category":170,"order":65,"uses":178},"\u002Fexamples\u002Froles","Roles and app-wide access","Reject whole groups of users in verifyUser, and check roles per route.",[14,179],"403",{"path":181,"title":182,"description":183,"category":170,"order":73,"uses":184},"\u002Fexamples\u002Fupstream-proxy","Calling an upstream API","Attach the user's token after the guard, never in middleware or routeRules.proxy.",[185,186,187],"$fetch","routeRules.proxy","server\u002Futils",{"path":189,"title":190,"description":191,"category":170,"order":81,"uses":192},"\u002Fexamples\u002Fssr-and-server-functions","SSR and server functions","Call your own API during server rendering, or skip HTTP entirely.",[76,193,187],"useRequestFetch",{"path":195,"title":196,"description":197,"category":170,"order":117,"uses":198},"\u002Fexamples\u002Fwebhooks","Webhooks","Server-to-server callbacks belong outside server\u002Fapi, with their own signature check.",[199,200,201],"server\u002Froutes","readRawBody","xssValidator",{"path":203,"title":204,"description":205,"category":170,"order":126,"uses":206},"\u002Fexamples\u002Fbearer-clients","Mobile apps and CLI tools","One BFF for the browser and for clients that send Bearer tokens.",[165,207],"Authorization",{"path":209,"title":210,"description":211,"category":170,"order":212,"uses":213},"\u002Fexamples\u002Fmore-route-folders","Checking more folders at build time","Extend routePatterns to server\u002Froutes and layers.",7,[214],"routePatterns",{"path":216,"title":217,"description":218,"category":170,"order":219,"uses":220},"\u002Fexamples\u002Fpublic-cache","Caching public data","Cache what is the same for everyone on a separate public route.",8,[68,75],{"path":222,"title":223,"description":224,"category":170,"order":225,"uses":226},"\u002Fexamples\u002Fclient-errors","Handling 401, 403 and 503 in the app","Sign out on 401, explain 403, retry on 503.",9,[227,228],"$fetch.create","onResponseError",{"path":230,"title":231,"description":232,"category":170,"order":233,"uses":234},"\u002Fexamples\u002Ftesting","Testing the protection","An end-to-end test that every protected route refuses anonymous calls.",10,[235,236],"@nuxt\u002Ftest-utils","vitest",{"id":238,"title":18,"body":239,"description":900,"extension":901,"meta":902,"navigation":385,"path":19,"seo":903,"stem":20,"__hash__":904},"docs_en\u002Fdocs\u002F03.sites-without-users.md",{"type":240,"value":241,"toc":894},"minimark",[242,251,257,351,471,489,494,509,597,603,607,614,632,636,639,647,690,763,769,773,782,873,890],[243,244,245,246,250],"p",{},"Every file in ",[247,248,249],"code",{},"server\u002Fapi"," is a public HTTP endpoint. On a site without accounts, that includes the route that sends your contact form by mail or the one that calls a paid search API with your key. Anyone can call them, from any website or from a script.",[243,252,253,254,256],{},"Set ",[247,255,58],{}," and those routes answer only to your own pages.",[258,259,265],"pre",{"className":260,"code":261,"filename":262,"language":263,"meta":264,"style":264},"language-ts shiki shiki-themes material-theme-lighter github-light github-dark","export default defineNuxtConfig({\n  modules: ['@kurashina-design\u002Fnuxt-bff-guard'],\n  bffGuard: { access: 'visitor' },\n})\n","nuxt.config.ts","ts","",[247,266,267,290,318,343],{"__ignoreMap":264},[268,269,271,275,278,282,286],"span",{"class":270,"line":56},"line",[268,272,274],{"class":273},"sVHd0","export",[268,276,277],{"class":273}," default",[268,279,281],{"class":280},"sGLFI"," defineNuxtConfig",[268,283,285],{"class":284},"su5hD","(",[268,287,289],{"class":288},"sP7_E","{\n",[268,291,292,296,299,302,306,310,312,315],{"class":270,"line":65},[268,293,295],{"class":294},"skxfh","  modules",[268,297,298],{"class":288},":",[268,300,301],{"class":284}," [",[268,303,305],{"class":304},"sjJ54","'",[268,307,309],{"class":308},"s_sjI","@kurashina-design\u002Fnuxt-bff-guard",[268,311,305],{"class":304},[268,313,314],{"class":284},"]",[268,316,317],{"class":288},",\n",[268,319,320,323,325,328,331,333,336,338,340],{"class":270,"line":73},[268,321,322],{"class":294},"  bffGuard",[268,324,298],{"class":288},[268,326,327],{"class":288}," {",[268,329,330],{"class":294}," access",[268,332,298],{"class":288},[268,334,335],{"class":304}," '",[268,337,55],{"class":308},[268,339,305],{"class":304},[268,341,342],{"class":288}," },\n",[268,344,345,348],{"class":270,"line":81},[268,346,347],{"class":288},"}",[268,349,350],{"class":284},")\n",[258,352,355],{"className":260,"code":353,"filename":354,"language":263,"meta":264,"style":264},"import { defineBffHandler } from '#bff-guard'\n\nexport default defineBffHandler(async (event) => {\n  await sendMail(await readValidatedBody(event, contactSchema))\n  return { ok: true }\n})\n","server\u002Fapi\u002Fcontact.post.ts",[247,356,357,381,387,417,446,465],{"__ignoreMap":264},[268,358,359,362,364,367,370,373,375,378],{"class":270,"line":56},[268,360,361],{"class":273},"import",[268,363,327],{"class":288},[268,365,366],{"class":284}," defineBffHandler",[268,368,369],{"class":288}," }",[268,371,372],{"class":273}," from",[268,374,335],{"class":304},[268,376,377],{"class":308},"#bff-guard",[268,379,380],{"class":304},"'\n",[268,382,383],{"class":270,"line":65},[268,384,386],{"emptyLinePlaceholder":385},true,"\n",[268,388,389,391,393,395,397,401,404,408,411,414],{"class":270,"line":73},[268,390,274],{"class":273},[268,392,277],{"class":273},[268,394,366],{"class":280},[268,396,285],{"class":284},[268,398,400],{"class":399},"sbsja","async",[268,402,403],{"class":288}," (",[268,405,407],{"class":406},"s99_P","event",[268,409,410],{"class":288},")",[268,412,413],{"class":399}," =>",[268,415,416],{"class":288}," {\n",[268,418,419,422,425,427,430,433,435,437,440,443],{"class":270,"line":81},[268,420,421],{"class":273},"  await",[268,423,424],{"class":280}," sendMail",[268,426,285],{"class":294},[268,428,429],{"class":273},"await",[268,431,432],{"class":280}," readValidatedBody",[268,434,285],{"class":294},[268,436,407],{"class":284},[268,438,439],{"class":288},",",[268,441,442],{"class":284}," contactSchema",[268,444,445],{"class":294},"))\n",[268,447,448,451,453,456,458,462],{"class":270,"line":117},[268,449,450],{"class":273},"  return",[268,452,327],{"class":288},[268,454,455],{"class":294}," ok",[268,457,298],{"class":288},[268,459,461],{"class":460},"syTEX"," true",[268,463,464],{"class":288}," }\n",[268,466,467,469],{"class":270,"line":126},[268,468,347],{"class":288},[268,470,350],{"class":284},[243,472,473,474,476,477,481,482,484,485,488],{},"No ",[247,475,14],{},", no secret, no Cookie. The ",[478,479,480],"a",{"href":23},"build-time check"," works the same way: a route under ",[247,483,249],{}," without ",[247,486,487],{},"defineBffHandler"," fails the build.",[490,491,493],"h2",{"id":492},"what-a-visitor-route-checks","What a visitor route checks",[243,495,496,497,500,501,504,505,508],{},"Browsers add ",[247,498,499],{},"Sec-Fetch-Site"," to every request. A visitor route accepts only ",[247,502,503],{},"same-origin",", the value a ",[247,506,507],{},"fetch()"," from your own pages carries, for every method, reads included.",[510,511,512,529],"table",{},[513,514,515],"thead",{},[516,517,518,522,526],"tr",{},[519,520,521],"th",{},"Request",[519,523,524],{},[247,525,499],{},[519,527,528],{},"Visitor route",[530,531,532,548,560,572,584],"tbody",{},[516,533,534,541,545],{},[535,536,537,540],"td",{},[247,538,539],{},"$fetch('\u002Fapi\u002Fcontact')"," from your page",[535,542,543],{},[247,544,503],{},[535,546,547],{},"✅ handler runs",[516,549,550,553,558],{},[535,551,552],{},"JavaScript on another website",[535,554,555],{},[247,556,557],{},"cross-site",[535,559,179],{},[516,561,562,565,570],{},[535,563,564],{},"A sibling subdomain",[535,566,567],{},[247,568,569],{},"same-site",[535,571,179],{},[516,573,574,577,582],{},[535,575,576],{},"URL typed into the address bar",[535,578,579],{},[247,580,581],{},"none",[535,583,179],{},[516,585,586,592,595],{},[535,587,588,591],{},[247,589,590],{},"curl"," without the header",[535,593,594],{},"absent",[535,596,179],{},[243,598,599,600,602],{},"The handler does not run for a refused request, so a refused call costs nothing upstream. All current browsers send ",[247,601,499],{},"; very old ones, such as Safari before 16.4, do not and are refused.",[490,604,606],{"id":605},"what-it-cannot-stop","What it cannot stop",[243,608,609,610,613],{},"A script can send ",[247,611,612],{},"Sec-Fetch-Site: same-origin"," itself. Without accounts there is nothing else to tell your page from a copy of its requests. For routes that send mail or spend money, add:",[615,616,617,624,629],"ul",{},[618,619,620,621,439],"li",{},"a bot check such as ",[478,622,623],{"href":52},"Turnstile",[618,625,626,439],{},[478,627,628],{"href":132},"rate limits",[618,630,631],{},"input validation and size limits.",[490,633,635],{"id":634},"data-loaded-during-ssr","Data loaded during SSR",[243,637,638],{},"Data that a page fetches during server-side rendering is not something to protect: anyone can open the page and read it. Mark such routes public.",[243,640,641,642,644,645,298],{},"A visitor route would behave inconsistently there. During SSR, ",[247,643,76],{}," forwards the headers of the page request, including ",[247,646,499],{},[510,648,649,659],{},[513,650,651],{},[516,652,653,656],{},[519,654,655],{},"How the visitor opened the page",[519,657,658],{},"SSR call to a visitor route",[530,660,661,671,681],{},[516,662,663,666],{},[535,664,665],{},"Reloaded a page of your site",[535,667,668,669,410],{},"passes (",[247,670,503],{},[516,672,673,676],{},[535,674,675],{},"Came from a search engine or another site",[535,677,678,679,410],{},"403 (",[247,680,557],{},[516,682,683,686],{},[535,684,685],{},"Typed the URL or used a bookmark",[535,687,678,688,410],{},[247,689,581],{},[258,691,694],{"className":260,"code":692,"filename":693,"language":263,"meta":264,"style":264},"import { defineBffHandler } from '#bff-guard'\n\n\u002F\u002F Loaded by pages\u002Findex.vue with useFetch during SSR.\nexport default defineBffHandler(() => listNews(), { access: 'public' })\n","server\u002Fapi\u002Fnews.get.ts",[247,695,696,714,718,724],{"__ignoreMap":264},[268,697,698,700,702,704,706,708,710,712],{"class":270,"line":56},[268,699,361],{"class":273},[268,701,327],{"class":288},[268,703,366],{"class":284},[268,705,369],{"class":288},[268,707,372],{"class":273},[268,709,335],{"class":304},[268,711,377],{"class":308},[268,713,380],{"class":304},[268,715,716],{"class":270,"line":65},[268,717,386],{"emptyLinePlaceholder":385},[268,719,720],{"class":270,"line":73},[268,721,723],{"class":722},"sutJx","\u002F\u002F Loaded by pages\u002Findex.vue with useFetch during SSR.\n",[268,725,726,728,730,732,734,737,739,742,744,746,748,750,752,754,757,759,761],{"class":270,"line":81},[268,727,274],{"class":273},[268,729,277],{"class":273},[268,731,366],{"class":280},[268,733,285],{"class":284},[268,735,736],{"class":288},"()",[268,738,413],{"class":399},[268,740,741],{"class":280}," listNews",[268,743,736],{"class":284},[268,745,439],{"class":288},[268,747,327],{"class":288},[268,749,330],{"class":294},[268,751,298],{"class":288},[268,753,335],{"class":304},[268,755,756],{"class":308},"public",[268,758,305],{"class":304},[268,760,369],{"class":288},[268,762,350],{"class":284},[243,764,765,766,768],{},"In development, the guard logs every request a visitor route refuses, with its ",[247,767,499],{},", so such SSR calls show up while you test.",[490,770,772],{"id":771},"mixing-with-user-routes","Mixing with user routes",[243,774,775,778,779,781],{},[247,776,777],{},"access"," in ",[247,780,262],{}," is only the default. Each route can choose:",[258,783,785],{"className":260,"code":784,"language":263,"meta":264,"style":264},"defineBffHandler(handler, { access: 'user' })    \u002F\u002F verifyUser must accept the request\ndefineBffHandler(handler, { access: 'visitor' }) \u002F\u002F only fetches from your own pages\ndefineBffHandler(handler, { access: 'public' })  \u002F\u002F anyone; writes still need your origin\n",[247,786,787,817,845],{"__ignoreMap":264},[268,788,789,791,794,796,798,800,802,804,807,809,811,814],{"class":270,"line":56},[268,790,487],{"class":280},[268,792,793],{"class":284},"(handler",[268,795,439],{"class":288},[268,797,327],{"class":288},[268,799,330],{"class":294},[268,801,298],{"class":288},[268,803,335],{"class":304},[268,805,806],{"class":308},"user",[268,808,305],{"class":304},[268,810,369],{"class":288},[268,812,813],{"class":284},")    ",[268,815,816],{"class":722},"\u002F\u002F verifyUser must accept the request\n",[268,818,819,821,823,825,827,829,831,833,835,837,839,842],{"class":270,"line":65},[268,820,487],{"class":280},[268,822,793],{"class":284},[268,824,439],{"class":288},[268,826,327],{"class":288},[268,828,330],{"class":294},[268,830,298],{"class":288},[268,832,335],{"class":304},[268,834,55],{"class":308},[268,836,305],{"class":304},[268,838,369],{"class":288},[268,840,841],{"class":284},") ",[268,843,844],{"class":722},"\u002F\u002F only fetches from your own pages\n",[268,846,847,849,851,853,855,857,859,861,863,865,867,870],{"class":270,"line":73},[268,848,487],{"class":280},[268,850,793],{"class":284},[268,852,439],{"class":288},[268,854,327],{"class":288},[268,856,330],{"class":294},[268,858,298],{"class":288},[268,860,335],{"class":304},[268,862,756],{"class":308},[268,864,305],{"class":304},[268,866,369],{"class":288},[268,868,869],{"class":284},")  ",[268,871,872],{"class":722},"\u002F\u002F anyone; writes still need your origin\n",[243,874,875,876,879,880,883,884,886,887,889],{},"A member app keeps the default ",[247,877,878],{},"'user'"," and marks its marketing contact form ",[247,881,882],{},"'visitor'",". A site without accounts uses ",[247,885,882],{}," as the default and needs no ",[247,888,14],{}," at all.",[891,892,893],"style",{},"html pre.shiki code .sVHd0, html code.shiki .sVHd0{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#D73A49;--shiki-default-font-style:inherit;--shiki-dark:#F97583;--shiki-dark-font-style:inherit}html pre.shiki code .sGLFI, html code.shiki .sGLFI{--shiki-light:#6182B8;--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .su5hD, html code.shiki .su5hD{--shiki-light:#90A4AE;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sP7_E, html code.shiki .sP7_E{--shiki-light:#39ADB5;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .skxfh, html code.shiki .skxfh{--shiki-light:#E53935;--shiki-default:#24292E;--shiki-dark:#E1E4E8}html pre.shiki code .sjJ54, html code.shiki .sjJ54{--shiki-light:#39ADB5;--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .s_sjI, html code.shiki .s_sjI{--shiki-light:#91B859;--shiki-default:#032F62;--shiki-dark:#9ECBFF}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);}html pre.shiki code .sbsja, html code.shiki .sbsja{--shiki-light:#9C3EDA;--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .s99_P, html code.shiki .s99_P{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#E36209;--shiki-default-font-style:inherit;--shiki-dark:#FFAB70;--shiki-dark-font-style:inherit}html pre.shiki code .syTEX, html code.shiki .syTEX{--shiki-light:#FF5370;--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sutJx, html code.shiki .sutJx{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#6A737D;--shiki-default-font-style:inherit;--shiki-dark:#6A737D;--shiki-dark-font-style:inherit}",{"title":264,"searchDepth":65,"depth":65,"links":895},[896,897,898,899],{"id":492,"depth":65,"text":493},{"id":605,"depth":65,"text":606},{"id":634,"depth":65,"text":635},{"id":771,"depth":65,"text":772},"Protect the BFF of a corporate site, a landing page or any app without sign-in.","md",{},{"title":18,"description":900},"ruPShpL5cYwVFLLsBgn_AT663kAC_ce8keEUdMF3x7Y",[906,908],{"title":14,"path":15,"stem":16,"description":907,"children":-1},"The one function that connects the guard to your authentication.",{"title":22,"path":23,"stem":24,"description":909,"children":-1},"How the build finds routes that forgot defineBffHandler.",1796451485234,"a99f93bd-e267-45a7-90df-9194cd77468d"]