[{"data":1,"prerenderedAt":1377},["ShallowReactive",2],{"navigation_docs":3,"-guide-people-and-security-sign-in":613,"-guide-people-and-security-sign-in-surround":1374},[4,39,101,378,540,562,584,606],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":38},"Start","i-lucide-rocket","\u002Fstart","1.start",[10,14,18,22,26,30,34],{"title":11,"path":12,"stem":13},"Our approach","\u002Fstart\u002Four-approach","1.start\u002F0.our-approach",{"title":15,"path":16,"stem":17},"Introduction","\u002Fstart\u002Fintroduction","1.start\u002F1.introduction",{"title":19,"path":20,"stem":21},"Concepts","\u002Fstart\u002Fconcepts","1.start\u002F2.concepts",{"title":23,"path":24,"stem":25},"Glossary","\u002Fstart\u002Fglossary","1.start\u002F3.glossary",{"title":27,"path":28,"stem":29},"Try it locally","\u002Fstart\u002Ftry-it-locally","1.start\u002F4.try-it-locally",{"title":31,"path":32,"stem":33},"Features","\u002Fstart\u002Ffeatures","1.start\u002F5.features",{"title":35,"path":36,"stem":37},"Questions","\u002Fstart\u002Ffaq","1.start\u002F6.faq",false,{"title":40,"icon":41,"path":42,"stem":43,"children":44,"page":38},"Run SHADE","i-lucide-server","\u002Frun","2.run",[45,49,53,57,61,65,69,73,77,81,85,89,93,97],{"title":46,"path":47,"stem":48},"Setting up an instance (Coolify)","\u002Frun\u002Fcoolify","2.run\u002F1.coolify",{"title":50,"path":51,"stem":52},"Console commands","\u002Frun\u002Fconsole","2.run\u002F10.console",{"title":54,"path":55,"stem":56},"Rotating APP_SECRET","\u002Frun\u002Frotating-app-secret","2.run\u002F11.rotating-app-secret",{"title":58,"path":59,"stem":60},"Checking an instance","\u002Frun\u002Fdoctor","2.run\u002F12.doctor",{"title":62,"path":63,"stem":64},"Self-hosting by hand","\u002Frun\u002Fown-server-by-hand","2.run\u002F13.own-server-by-hand",{"title":66,"path":67,"stem":68},"NixOS (experimental)","\u002Frun\u002Fnixos","2.run\u002F14.nixos",{"title":70,"path":71,"stem":72},"Self-hosting without Coolify","\u002Frun\u002Fown-server","2.run\u002F2.own-server",{"title":74,"path":75,"stem":76},"Hosting the site on a static host","\u002Frun\u002Fstatic-hosts","2.run\u002F3.static-hosts",{"title":78,"path":79,"stem":80},"Licence","\u002Frun\u002Flicence","2.run\u002F4.licence",{"title":82,"path":83,"stem":84},"Updating and backups","\u002Frun\u002Fupdating-and-backups","2.run\u002F5.updating-and-backups",{"title":86,"path":87,"stem":88},"Troubleshooting","\u002Frun\u002Ftroubleshooting","2.run\u002F6.troubleshooting",{"title":90,"path":91,"stem":92},"Logs, request ids, traces and metrics","\u002Frun\u002Flogs","2.run\u002F7.logs",{"title":94,"path":95,"stem":96},"Maintenance mode","\u002Frun\u002Fmaintenance-mode","2.run\u002F8.maintenance-mode",{"title":98,"path":99,"stem":100},"Usage limits","\u002Frun\u002Fusage-limits","2.run\u002F9.usage-limits",{"title":102,"icon":103,"path":104,"stem":105,"children":106},"Guide","i-lucide-book-open","\u002Fguide","3.guide",[107,109,147,192,210,280,310,364],{"title":102,"path":104,"stem":108},"3.guide\u002Findex",{"title":110,"icon":111,"path":112,"stem":113,"children":114,"page":38},"Content","i-lucide-file-text","\u002Fguide\u002Fcontent","3.guide\u002F1.content",[115,119,123,127,131,135,139,143],{"title":116,"path":117,"stem":118},"Collections and entries","\u002Fguide\u002Fcontent\u002Fcollections","3.guide\u002F1.content\u002F1.collections",{"title":120,"path":121,"stem":122},"Field types","\u002Fguide\u002Fcontent\u002Ffields","3.guide\u002F1.content\u002F2.fields",{"title":124,"path":125,"stem":126},"Drafts, publishing and version history","\u002Fguide\u002Fcontent\u002Fversions","3.guide\u002F1.content\u002F3.versions",{"title":128,"path":129,"stem":130},"Languages","\u002Fguide\u002Fcontent\u002Flanguages","3.guide\u002F1.content\u002F4.languages",{"title":132,"path":133,"stem":134},"Data sources","\u002Fguide\u002Fcontent\u002Fdata-sources","3.guide\u002F1.content\u002F5.data-sources",{"title":136,"path":137,"stem":138},"Media","\u002Fguide\u002Fcontent\u002Fmedia","3.guide\u002F1.content\u002F6.media",{"title":140,"path":141,"stem":142},"Search","\u002Fguide\u002Fcontent\u002Fsearch","3.guide\u002F1.content\u002F7.search",{"title":144,"path":145,"stem":146},"Trash","\u002Fguide\u002Fcontent\u002Ftrash","3.guide\u002F1.content\u002F8.trash",{"title":148,"icon":149,"path":150,"stem":151,"children":152,"page":38},"Website","i-lucide-globe","\u002Fguide\u002Fwebsite","3.guide\u002F2.website",[153,156,160,164,168,172,176,180,184,188],{"title":148,"path":154,"stem":155},"\u002Fguide\u002Fwebsite\u002Fwebsite","3.guide\u002F2.website\u002F1.website",{"title":157,"path":158,"stem":159},"Scroll scenes","\u002Fguide\u002Fwebsite\u002Fscroll-scenes","3.guide\u002F2.website\u002F10.scroll-scenes",{"title":161,"path":162,"stem":163},"Pages and posts","\u002Fguide\u002Fwebsite\u002Fpages","3.guide\u002F2.website\u002F2.pages",{"title":165,"path":166,"stem":167},"The visual editor","\u002Fguide\u002Fwebsite\u002Fvisual-editor","3.guide\u002F2.website\u002F3.visual-editor",{"title":169,"path":170,"stem":171},"Roles and locks","\u002Fguide\u002Fwebsite\u002Froles-and-locks","3.guide\u002F2.website\u002F4.roles-and-locks",{"title":173,"path":174,"stem":175},"Header and footer","\u002Fguide\u002Fwebsite\u002Fheader-and-footer","3.guide\u002F2.website\u002F5.header-and-footer",{"title":177,"path":178,"stem":179},"Theme","\u002Fguide\u002Fwebsite\u002Ftheme","3.guide\u002F2.website\u002F6.theme",{"title":181,"path":182,"stem":183},"Redirects","\u002Fguide\u002Fwebsite\u002Fredirects","3.guide\u002F2.website\u002F7.redirects",{"title":185,"path":186,"stem":187},"Site settings","\u002Fguide\u002Fwebsite\u002Fsite-settings","3.guide\u002F2.website\u002F8.site-settings",{"title":189,"path":190,"stem":191},"The site","\u002Fguide\u002Fwebsite\u002Fthe-site","3.guide\u002F2.website\u002F9.the-site",{"title":193,"icon":194,"path":195,"stem":196,"children":197,"page":38},"Publishing","i-lucide-send","\u002Fguide\u002Fpublishing","3.guide\u002F3.publishing",[198,202,206],{"title":199,"path":200,"stem":201},"Publishing and preview","\u002Fguide\u002Fpublishing\u002Fpublishing","3.guide\u002F3.publishing\u002F1.publishing",{"title":203,"path":204,"stem":205},"Builds","\u002Fguide\u002Fpublishing\u002Fbuilds","3.guide\u002F3.publishing\u002F2.builds",{"title":207,"path":208,"stem":209},"CDN caches","\u002Fguide\u002Fpublishing\u002Fcaches","3.guide\u002F3.publishing\u002F3.caches",{"title":211,"icon":212,"path":213,"stem":214,"children":215,"page":38},"People, security and privacy","i-lucide-shield","\u002Fguide\u002Fpeople-and-security","3.guide\u002F4.people-and-security",[216,220,224,228,232,236,240,244,248,252,256,260,264,268,272,276],{"title":217,"path":218,"stem":219},"People in SHADE","\u002Fguide\u002Fpeople-and-security\u002Fpeople-in-shade","3.guide\u002F4.people-and-security\u002F0.people-in-shade",{"title":221,"path":222,"stem":223},"Team and roles","\u002Fguide\u002Fpeople-and-security\u002Fteam","3.guide\u002F4.people-and-security\u002F1.team",{"title":225,"path":226,"stem":227},"Errors and security alerts","\u002Fguide\u002Fpeople-and-security\u002Ferrors","3.guide\u002F4.people-and-security\u002F10.errors",{"title":229,"path":230,"stem":231},"Exporting an instance","\u002Fguide\u002Fpeople-and-security\u002Fexporting","3.guide\u002F4.people-and-security\u002F11.exporting",{"title":233,"path":234,"stem":235},"Organisations","\u002Fguide\u002Fpeople-and-security\u002Forganisations","3.guide\u002F4.people-and-security\u002F12.organisations",{"title":237,"path":238,"stem":239},"Signing in through an identity provider (team)","\u002Fguide\u002Fpeople-and-security\u002Fidentity-providers","3.guide\u002F4.people-and-security\u002F13.identity-providers",{"title":241,"path":242,"stem":243},"System status","\u002Fguide\u002Fpeople-and-security\u002Fsystem-status","3.guide\u002F4.people-and-security\u002F14.system-status",{"title":245,"path":246,"stem":247},"Appearance","\u002Fguide\u002Fpeople-and-security\u002Fappearance","3.guide\u002F4.people-and-security\u002F15.appearance",{"title":249,"path":250,"stem":251},"Accounts and personal pages","\u002Fguide\u002Fpeople-and-security\u002Faccounts","3.guide\u002F4.people-and-security\u002F2.accounts",{"title":253,"path":254,"stem":255},"Signing in (team)","\u002Fguide\u002Fpeople-and-security\u002Fsign-in","3.guide\u002F4.people-and-security\u002F3.sign-in",{"title":257,"path":258,"stem":259},"API tokens","\u002Fguide\u002Fpeople-and-security\u002Fapi-tokens","3.guide\u002F4.people-and-security\u002F4.api-tokens",{"title":261,"path":262,"stem":263},"Audit log","\u002Fguide\u002Fpeople-and-security\u002Faudit","3.guide\u002F4.people-and-security\u002F5.audit",{"title":265,"path":266,"stem":267},"Request protection","\u002Fguide\u002Fpeople-and-security\u002Fprotection","3.guide\u002F4.people-and-security\u002F6.protection",{"title":269,"path":270,"stem":271},"Personal data per person","\u002Fguide\u002Fpeople-and-security\u002Fprivacy","3.guide\u002F4.people-and-security\u002F7.privacy",{"title":273,"path":274,"stem":275},"Data retention","\u002Fguide\u002Fpeople-and-security\u002Fretention","3.guide\u002F4.people-and-security\u002F8.retention",{"title":277,"path":278,"stem":279},"Consent banner","\u002Fguide\u002Fpeople-and-security\u002Fconsent","3.guide\u002F4.people-and-security\u002F9.consent",{"title":281,"icon":282,"path":283,"stem":284,"children":285,"page":38},"Services","i-lucide-plug","\u002Fguide\u002Fservices","3.guide\u002F5.services",[286,290,294,298,302,306],{"title":287,"path":288,"stem":289},"Email","\u002Fguide\u002Fservices\u002Femail","3.guide\u002F5.services\u002F1.email",{"title":291,"path":292,"stem":293},"Opening hours","\u002Fguide\u002Fservices\u002Fopening-hours","3.guide\u002F5.services\u002F4.opening-hours",{"title":295,"path":296,"stem":297},"Webhooks","\u002Fguide\u002Fservices\u002Fwebhooks","3.guide\u002F5.services\u002F5.webhooks",{"title":299,"path":300,"stem":301},"Locations","\u002Fguide\u002Fservices\u002Flocations","3.guide\u002F5.services\u002F6.locations",{"title":303,"path":304,"stem":305},"VAT rates","\u002Fguide\u002Fservices\u002Fvat-rates","3.guide\u002F5.services\u002F7.vat-rates",{"title":307,"path":308,"stem":309},"Channels","\u002Fguide\u002Fservices\u002Fchannels","3.guide\u002F5.services\u002F8.channels",{"title":311,"icon":312,"path":313,"stem":314,"children":315,"page":38},"InstalledModules","i-lucide-puzzle","\u002Fguide\u002Fmodules","3.guide\u002F6.modules",[316,320,324,328,332,336,340,344,348,352,356,360],{"title":317,"path":318,"stem":319},"Modules","\u002Fguide\u002Fmodules\u002Fmanaging","3.guide\u002F6.modules\u002F1.managing",{"title":321,"path":322,"stem":323},"Dutch services (module)","\u002Fguide\u002Fmodules\u002Fnl","3.guide\u002F6.modules\u002F10.nl",{"title":325,"path":326,"stem":327},"Editorial (module)","\u002Fguide\u002Fmodules\u002Feditorial","3.guide\u002F6.modules\u002F11.editorial",{"title":329,"path":330,"stem":331},"Appointments (module)","\u002Fguide\u002Fmodules\u002Fappointments","3.guide\u002F6.modules\u002F2.appointments",{"title":333,"path":334,"stem":335},"Shop (the commerce module)","\u002Fguide\u002Fmodules\u002Fshop","3.guide\u002F6.modules\u002F3.shop",{"title":337,"path":338,"stem":339},"Untrusted modules","\u002Fguide\u002Fmodules\u002Funtrusted","3.guide\u002F6.modules\u002F4.untrusted",{"title":341,"path":342,"stem":343},"Analytics (module)","\u002Fguide\u002Fmodules\u002Fanalytics","3.guide\u002F6.modules\u002F5.analytics",{"title":345,"path":346,"stem":347},"Error forwarding (module)","\u002Fguide\u002Fmodules\u002Ferror-forwarding","3.guide\u002F6.modules\u002F6.error-forwarding",{"title":349,"path":350,"stem":351},"Client programs","\u002Fguide\u002Fmodules\u002Fprograms","3.guide\u002F6.modules\u002F7.programs",{"title":353,"path":354,"stem":355},"Import and export (module)","\u002Fguide\u002Fmodules\u002Fimport","3.guide\u002F6.modules\u002F8.import",{"title":357,"path":358,"stem":359},"Payments (module)","\u002Fguide\u002Fmodules\u002Fpayments","3.guide\u002F6.modules\u002F8.payments",{"title":361,"path":362,"stem":363},"Forms (module)","\u002Fguide\u002Fmodules\u002Fforms","3.guide\u002F6.modules\u002F9.forms",{"title":365,"icon":366,"path":367,"stem":368,"children":369,"page":38},"AI assistants","i-lucide-bot","\u002Fguide\u002Fai","3.guide\u002F7.ai",[370,374],{"title":371,"path":372,"stem":373},"AI assistants (MCP)","\u002Fguide\u002Fai\u002Fassistants","3.guide\u002F7.ai\u002F1.assistants",{"title":375,"path":376,"stem":377},"Connecting an AI assistant","\u002Fguide\u002Fai\u002Fconnecting","3.guide\u002F7.ai\u002F2.connecting",{"title":379,"icon":380,"path":381,"stem":382,"children":383,"page":38},"Developers","i-lucide-code","\u002Fdevelopers","4.developers",[384,388,392,396,400,404,408,412,416,420,424,428,432,435,489,493,497,501,536],{"title":385,"path":386,"stem":387},"Architecture","\u002Fdevelopers\u002Farchitecture","4.developers\u002F1.architecture",{"title":389,"path":390,"stem":391},"Capabilities","\u002Fdevelopers\u002Fcapabilities","4.developers\u002F10.capabilities",{"title":393,"path":394,"stem":395},"Trust","\u002Fdevelopers\u002Ftrust","4.developers\u002F11.trust",{"title":397,"path":398,"stem":399},"Redis and the ports","\u002Fdevelopers\u002Fredis","4.developers\u002F12.redis",{"title":401,"path":402,"stem":403},"The worker container role","\u002Fdevelopers\u002Fworker","4.developers\u002F13.worker",{"title":405,"path":406,"stem":407},"kv: a module's own key-value storage","\u002Fdevelopers\u002Fkv","4.developers\u002F14.kv",{"title":409,"path":410,"stem":411},"Processes: long-running work on the worker","\u002Fdevelopers\u002Fprocesses","4.developers\u002F15.processes",{"title":413,"path":414,"stem":415},"Network: a module's outgoing calls","\u002Fdevelopers\u002Fnetwork","4.developers\u002F16.network",{"title":417,"path":418,"stem":419},"Realtime","\u002Fdevelopers\u002Frealtime","4.developers\u002F17.realtime",{"title":421,"path":422,"stem":423},"Private files","\u002Fdevelopers\u002Ffiles","4.developers\u002F18.files",{"title":425,"path":426,"stem":427},"Notify","\u002Fdevelopers\u002Fnotify","4.developers\u002F19.notify",{"title":429,"path":430,"stem":431},"Collections","\u002Fdevelopers\u002Fcollections","4.developers\u002F2.collections",{"title":337,"path":433,"stem":434},"\u002Fdevelopers\u002Funtrusted","4.developers\u002F20.untrusted",{"title":436,"icon":312,"path":437,"stem":438,"children":439},"Writing a plugin","\u002Fdevelopers\u002Fmodules","4.developers\u002F3.modules\u002Findex",[440,442,446,450,454,458,462,466,470,473,477,481,485],{"title":441,"path":437,"stem":438},"Writing a module",{"title":443,"path":444,"stem":445},"Module SDK and tooling","\u002Fdevelopers\u002Fmodules\u002Fsdk-and-tooling","4.developers\u002F3.modules\u002F1.sdk-and-tooling",{"title":447,"path":448,"stem":449},"Connecting accounts with OAuth2","\u002Fdevelopers\u002Fmodules\u002Foauth","4.developers\u002F3.modules\u002F10.oauth",{"title":451,"path":452,"stem":453},"Calls between modules","\u002Fdevelopers\u002Fmodules\u002Fcalls-between-modules","4.developers\u002F3.modules\u002F11.calls-between-modules",{"title":455,"path":456,"stem":457},"Experimental parts","\u002Fdevelopers\u002Fmodules\u002Fexperimental-parts","4.developers\u002F3.modules\u002F12.experimental-parts",{"title":459,"path":460,"stem":461},"The manifest","\u002Fdevelopers\u002Fmodules\u002Fmanifest","4.developers\u002F3.modules\u002F2.manifest",{"title":463,"path":464,"stem":465},"Routes","\u002Fdevelopers\u002Fmodules\u002Froutes","4.developers\u002F3.modules\u002F3.routes",{"title":467,"path":468,"stem":469},"Admin screens and the site part","\u002Fdevelopers\u002Fmodules\u002Fadmin-and-site","4.developers\u002F3.modules\u002F4.admin-and-site",{"title":110,"path":471,"stem":472},"\u002Fdevelopers\u002Fmodules\u002Fcontent","4.developers\u002F3.modules\u002F5.content",{"title":474,"path":475,"stem":476},"Background work and services","\u002Fdevelopers\u002Fmodules\u002Fbackground-and-services","4.developers\u002F3.modules\u002F6.background-and-services",{"title":478,"path":479,"stem":480},"SDK reference","\u002Fdevelopers\u002Fmodules\u002Fsdk-reference","4.developers\u002F3.modules\u002F7.sdk-reference",{"title":482,"path":483,"stem":484},"The website module's SDK","\u002Fdevelopers\u002Fmodules\u002Fwebsite-sdk","4.developers\u002F3.modules\u002F8.website-sdk",{"title":486,"path":487,"stem":488},"Incoming webhooks","\u002Fdevelopers\u002Fmodules\u002Fincoming-webhooks","4.developers\u002F3.modules\u002F9.incoming-webhooks",{"title":490,"path":491,"stem":492},"Core and the website module","\u002Fdevelopers\u002Fcore-and-website-module","4.developers\u002F4.core-and-website-module",{"title":494,"path":495,"stem":496},"The API","\u002Fdevelopers\u002Fapi","4.developers\u002F6.api",{"title":498,"path":499,"stem":500},"API reference","\u002Fdevelopers\u002Fapi-reference","4.developers\u002F6.api-reference",{"title":502,"icon":503,"path":504,"stem":505,"children":506},"Sites in other frameworks","i-lucide-layout-template","\u002Fdevelopers\u002Fframeworks","4.developers\u002F7.frameworks\u002Findex",[507,508,512,516,520,524,528,532],{"title":502,"path":504,"stem":505},{"title":509,"path":510,"stem":511},"Accounts: sign-in and modules' routes","\u002Fdevelopers\u002Fframeworks\u002Faccounts","4.developers\u002F7.frameworks\u002F1.accounts",{"title":513,"path":514,"stem":515},"`@shadestack\u002Ftree`","\u002Fdevelopers\u002Fframeworks\u002Ftree","4.developers\u002F7.frameworks\u002F2.tree",{"title":517,"path":518,"stem":519},"Expressions and styles","\u002Fdevelopers\u002Fframeworks\u002Fexpressions-and-styles","4.developers\u002F7.frameworks\u002F3.expressions-and-styles",{"title":521,"path":522,"stem":523},"`@shadestack\u002Frender`","\u002Fdevelopers\u002Fframeworks\u002Frender","4.developers\u002F7.frameworks\u002F4.render",{"title":525,"path":526,"stem":527},"`@shadestack\u002Finteractions`","\u002Fdevelopers\u002Fframeworks\u002Finteractions","4.developers\u002F7.frameworks\u002F5.interactions",{"title":529,"path":530,"stem":531},"`@shadestack\u002Fa11y`","\u002Fdevelopers\u002Fframeworks\u002Fa11y","4.developers\u002F7.frameworks\u002F6.a11y",{"title":533,"path":534,"stem":535},"Your own page for SHADE's links","\u002Fdevelopers\u002Fframeworks\u002Flinks","4.developers\u002F7.frameworks\u002F7.links",{"title":537,"path":538,"stem":539},"Build a client module","\u002Fdevelopers\u002Fclient-module","4.developers\u002F9.client-module",{"title":541,"icon":542,"path":543,"stem":544,"children":545,"page":38},"Security","i-lucide-shield-check","\u002Fsecurity","5.security",[546,550,554,558],{"title":547,"path":548,"stem":549},"Reporting a vulnerability","\u002Fsecurity\u002Freporting","5.security\u002F0.reporting",{"title":551,"path":552,"stem":553},"Security testing","\u002Fsecurity\u002Ftesting","5.security\u002F1.testing",{"title":555,"path":556,"stem":557},"Hardening a production instance","\u002Fsecurity\u002Fhardening","5.security\u002F2.hardening",{"title":559,"path":560,"stem":561},"Manual testing with Kali Linux","\u002Fsecurity\u002Fmanual-testing","5.security\u002F3.manual-testing",{"title":563,"icon":564,"path":565,"stem":566,"children":567,"page":38},"Contributing","i-lucide-git-pull-request","\u002Fcontributing","6.contributing",[568,572,576,580],{"title":569,"path":570,"stem":571},"Reading the code","\u002Fcontributing\u002Freading-the-code","6.contributing\u002F1.reading-the-code",{"title":573,"path":574,"stem":575},"Docs site","\u002Fcontributing\u002Fdocs-site","6.contributing\u002F2.docs-site",{"title":577,"path":578,"stem":579},"Releases","\u002Fcontributing\u002Freleases","6.contributing\u002F3.releases",{"title":581,"path":582,"stem":583},"Load tests","\u002Fcontributing\u002Fload-tests","6.contributing\u002F4.load-tests",{"title":585,"icon":586,"path":587,"stem":588,"children":589,"page":38},"Project","i-lucide-map","\u002Fproject","7.project",[590,594,598,602],{"title":591,"path":592,"stem":593},"Roadmap","\u002Fproject\u002Froadmap","7.project\u002F1.roadmap",{"title":595,"path":596,"stem":597},"Known issues","\u002Fproject\u002Fknown-issues","7.project\u002F2.known-issues",{"title":599,"path":600,"stem":601},"Changelog","\u002Fproject\u002Fchangelog","7.project\u002F3.changelog",{"title":603,"path":604,"stem":605},"Decisions","\u002Fproject\u002Fdecisions","7.project\u002F4.decisions",{"title":607,"path":608,"stem":609,"children":610,"icon":612},"Community","\u002Fcommunity","8.community\u002Findex",[611],{"title":607,"path":608,"stem":609},"i-lucide-users",{"id":614,"title":253,"body":615,"description":1356,"extension":1368,"links":1369,"meta":1370,"navigation":1371,"path":254,"seo":1372,"stem":255,"__hash__":1373},"docs\u002F3.guide\u002F4.people-and-security\u002F3.sign-in.md",{"type":616,"value":617,"toc":1355},"minimark",[618,627,634,639,645,707,712,730,735,754,758,838,841,845,855,920,929,1011,1029,1032,1036,1045,1049,1073,1078,1102,1112,1117,1143,1148,1162,1167,1185,1189,1194,1199,1207,1211,1232,1237,1251,1260,1340,1344],[619,620,621,622,626],"p",{},"Admins and editors sign in to the admin with their email address and password, or with a passkey (fingerprint,\nface or a security key). They can add a second step, a code from an authenticator app, on their Account page.\nSign-in runs inside SHADE on the client's own server: nothing goes to an outside service, unless the operator sets\nup an identity provider (Microsoft, Google or Keycloak) for the team (",[623,624,625],"a",{"href":238},"Identity providers","). SHADE's roles, permissions\nand audit log decide what a signed-in person may do.",[619,628,629,630,633],{},"This page is about the team, the people who edit the site. Accounts on the website are a separate system: see\n",[623,631,632],{"href":250},"Accounts",".",[635,636,638],"h2",{"id":637},"what-users-can-do","What users can do",[619,640,641],{},[642,643,644],"strong",{},"Everyone with an admin account (admins and editors)",[646,647,648,652,655,661,669,672,679,682,689],"ul",{},[649,650,651],"li",{},"Sign in with email and password. The email is matched case-insensitively.",[649,653,654],{},"Sign in with a passkey instead, when the browser supports it.",[649,656,657,658,660],{},"Sign in through the organisation's identity provider, when one is set up (",[623,659,625],{"href":238},").",[649,662,663,664,668],{},"When two-factor is on: after the password, enter the 6-digit code from the authenticator app, or one of the\nbackup codes. Optionally tick ",[665,666,667],"em",{},"Trust this browser for 30 days"," to skip the code on that browser.",[649,670,671],{},"Stay signed in for 14 days without activity; using the admin keeps extending that. A screen left open does not:\nits own checks in the background (counts in the sidebar, maintenance) never extend the session.",[649,673,674,675,678],{},"Sign out (",[665,676,677],{},"Sign out"," in the user menu). With unsaved changes it asks first; staying keeps you signed in.",[649,680,681],{},"When your session ends while you work (it expired, or you signed out elsewhere), a banner says so and offers to sign\nin again in a new tab; what you have not saved stays on the screen. Going to another screen then leads to the\nsign-in page.",[649,683,684,685,660],{},"Reset a forgotten password by email (",[623,686,688],{"href":687},"#rules-and-limits","Forgot your password",[649,690,691,692,695,696],{},"On the ",[665,693,694],{},"Account"," page:\n",[646,697,698,701,704],{},[649,699,700],{},"change their own password (needs the current one); their other sessions end, this browser stays signed in;",[649,702,703],{},"turn two-factor on (password, then QR code and backup codes, then a first code) or off (password);",[649,705,706],{},"add passkeys with a name, see them listed, rename and remove them.",[619,708,709],{},[642,710,711],{},"Admins",[646,713,714,723],{},[649,715,716,717,720,721,633],{},"Set another team member's password (",[665,718,719],{},"Set password"," on the Team screen); all of their sessions end. This is also\nhow a team member created without a password gets one. See ",[623,722,221],{"href":222},[649,724,725,726,729],{},"Reset another team member's two-factor (",[665,727,728],{},"Reset two-factor","), for example after a lost phone; they then sign in with\nonly their password and can set it up again.",[619,731,732],{},[642,733,734],{},"Limits",[646,736,737,745,748],{},[649,738,739,742,743,660],{},[665,740,741],{},"Forgot your password?"," needs email: without it nothing is sent (the page still answers the same), and a sole\nadmin who lost their password needs someone with access to the server, who can add an admin\n(",[623,744,86],{"href":87},[649,746,747],{},"There is no sign-up: admins create accounts.",[649,749,750,751,633],{},"AI accounts can never sign in to the admin; they connect over MCP with an ",[623,752,753],{"href":258},"API token",[635,755,757],{"id":756},"who-may-do-it","Who may do it",[759,760,761,777],"table",{},[762,763,764],"thead",{},[765,766,767,771,774],"tr",{},[768,769,770],"th",{},"Action",[768,772,773],{},"Permission",[768,775,776],{},"Roles",[778,779,780,792,803,813,827],"tbody",{},[765,781,782,786,789],{},[783,784,785],"td",{},"Sign in, sign out",[783,787,788],{},"none",[783,790,791],{},"admin, editor; ai: never",[765,793,794,797,800],{},[783,795,796],{},"See own account",[783,798,799],{},"signed in, no action permission",[783,801,802],{},"admin, editor",[765,804,805,808,811],{},[783,806,807],{},"Change own password, two-factor, passkeys",[783,809,810],{},"signed in, plus the current password for password and two-factor",[783,812,802],{},[765,814,815,818,824],{},[783,816,817],{},"Set another team member's password",[783,819,820],{},[821,822,823],"code",{},"team.manage",[783,825,826],{},"admin",[765,828,829,832,836],{},[783,830,831],{},"Reset another team member's two-factor",[783,833,834],{},[821,835,823],{},[783,837,826],{},[619,839,840],{},"Inactive team members are refused like AI accounts. Deactivating a team member ends their sessions.",[635,842,844],{"id":843},"in-the-admin","In the admin",[619,846,847,850,851,854],{},[642,848,849],{},"Login page"," (",[665,852,853],{},"Sign in to SHADE","). Any admin page opened while signed out leads here, and after signing in the\neditor lands back on that page (only a page of the admin itself, never another site). Someone already signed in who\nopens the login page goes to the dashboard.",[856,857,858,874,888],"ol",{},[649,859,860,862,863,866,867,870,871,633],{},[665,861,287],{}," and ",[665,864,865],{},"Password",", button ",[665,868,869],{},"Sign in",". A wrong email, wrong password, inactive account, AI account or an\naccount without a password all give the same message: ",[665,872,873],{},"Invalid email or password",[649,875,876,877,880,881,884,885],{},"Below it, ",[665,878,879],{},"or"," \u002F ",[665,882,883],{},"Sign in with a passkey"," (shown only when the browser supports passkeys). If it fails:\n",[665,886,887],{},"Signing in with a passkey did not work. Try again or use your password.",[649,889,890,891,894,895,866,897,900,901,904,905,908,909,912,913,916,917,633],{},"For editors with two-factor, the form changes to a code step: ",[665,892,893],{},"Code"," (\"Enter the 6-digit code from your\nauthenticator app\"), ",[665,896,667],{},[665,898,899],{},"Verify",". The link ",[665,902,903],{},"Use a backup code"," switches\nthe field to ",[665,906,907],{},"Backup code"," (\"Each code works once\"); ",[665,910,911],{},"Use the app instead"," switches back; ",[665,914,915],{},"Back"," returns to the\npassword step. A wrong code shows ",[665,918,919],{},"Invalid code",[619,921,922,925,926,928],{},[642,923,924],{},"Account page"," (via ",[665,927,694],{}," in the user menu):",[646,930,931,937,958],{},[649,932,933,936],{},[665,934,935],{},"Profile",": name, email and role.",[649,938,939,941,942,945,946,949,950,953,954,957],{},[665,940,865],{},": ",[665,943,944],{},"Current password",", ",[665,947,948],{},"New password"," (\"At least 12 characters.\"), ",[665,951,952],{},"Change password",". Success shows\n",[665,955,956],{},"Password changed"," \u002F \"Your other sessions have been signed out.\"",[649,959,960,962,963],{},[665,961,541],{}," card:\n",[646,964,965,997],{},[649,966,967,866,970,973,974,977,978,981,982,985,986,989,990,992,993,996],{},[665,968,969],{},"Two-factor authentication",[665,971,972],{},"Turn on",": asks ",[665,975,976],{},"Your password"," → shows a QR code, the key as text\n(\"No camera? Enter this key in the app:\"), the ",[665,979,980],{},"Backup codes"," with ",[665,983,984],{},"Copy codes",", and ",[665,987,988],{},"Code from the app",";\n",[665,991,972],{}," again confirms. When on, the card reads \"On: signing in asks for a code from your app.\" and the\nbutton is ",[665,994,995],{},"Turn off",", which asks for the password again.",[649,998,999,1002,1003,1006,1007,1010],{},[665,1000,1001],{},"Passkeys"," (only when the browser supports them): the list of passkeys by name, a name field\n(placeholder \"Name, for example \"Work laptop\"\", default name ",[665,1004,1005],{},"Passkey","), your password and ",[665,1008,1009],{},"Add passkey","; the\nbrowser then asks for Touch ID, Windows Hello or a security key. The password comes first because a passkey signs\nin without it: someone who only has your session cannot add one. A wrong password says \"Password is incorrect\". The pencil button renames one (audited \"Renamed a\npasskey\"); the bin icon removes one after a confirmation (\"You can no longer sign in with it.\").",[619,1012,1013,1016,1017,1019,1020,1022,1023,1026,1027,633],{},[642,1014,1015],{},"Team screen"," (admins): the row menu has ",[665,1018,719],{}," (not for AI accounts or yourself) and ",[665,1021,728],{},"\n(only when that team member has two-factor on, and not for yourself). The ",[665,1024,1025],{},"Last login"," column shows when each team\nmember last signed in. See ",[623,1028,221],{"href":222},[619,1030,1031],{},"The admin is also available in Dutch; the labels above are the English ones.",[635,1033,1035],{"id":1034},"on-the-website","On the website",[619,1037,1038,1039,1042,1043,633],{},"Nothing directly: the team signs in to the admin only. Users sign in on the site's ",[821,1040,1041],{},"\u002Faccount"," page with a separate\nsystem, see ",[623,1044,632],{"href":250},[635,1046,1048],{"id":1047},"rules-and-limits","Rules and limits",[646,1050,1051,1057,1067],{},[649,1052,1053,1056],{},[642,1054,1055],{},"One sign-in, one entry."," Each sign-in is recorded once in the audit log, after the two-factor code when one is\nasked. Changing your password or turning on two-factor keeps you signed in but is not recorded as a sign-in.",[649,1058,1059,1062,1063,1066],{},[642,1060,1061],{},"Two-factor timing."," The code must follow the password within 10 minutes; ",[665,1064,1065],{},"Trust this browser"," lasts 30 days;\nwrong codes count against the code step's limit (10 per network address in 15 minutes).",[649,1068,1069,1072],{},[642,1070,1071],{},"Password checks on the Account page."," Changing your password or email, turning two-factor on or off and allowing\na passkey together take five tries per quarter of an hour, right or wrong; then \"Too many attempts to sign in again.\nTry again in a quarter of an hour.\" A wrong password there is recorded in the audit log as a failed sign-in (\"Wrong\npassword on the account page\"), so a stolen session can't be used to guess the password unseen.",[1074,1075,1077],"h3",{"id":1076},"better-auth-within-bounds","Better Auth within bounds",[619,1079,1080,1081,1087,1088,1090,1091,1095,1096,1098,1099,660],{},"Sign-in is built on ",[623,1082,1086],{"href":1083,"rel":1084},"https:\u002F\u002Fwww.better-auth.com",[1085],"nofollow","Better Auth",", an open-source login library that runs inside SHADE.\nSHADE uses only the parts of it that were reviewed: email and password, sessions, confirmation and\nreset emails, two-factor and passkeys, and for the team the client's own identity provider\n(",[623,1089,625],{"href":238},"). It does not offer social sign-in (Facebook, a personal Google\naccount…), sign-up through a provider, or other ways to sign in. Better Auth only says who someone is; what they may do is always SHADE's roles and permissions.\nIt stays behind SHADE's own routes and tables: sites speak SHADE's account API, not Better Auth's, and Better Auth\nkeeps its own copy of each account, so it can be replaced without changing a site.\nBefore each release its security advisories are checked (",[623,1092,1094],{"href":1093},"\u002Frun\u002Fcoolify#before-each-release","Before each\nrelease","). Sign-in attempts are limited per address and per account\n(",[623,1097,265],{"href":266},"). Users confirm their address with the link and their password, never by\nopening a link alone (",[623,1100,632],{"href":1101},"\u002Fguide\u002Fpeople-and-security\u002Faccounts#rules-and-limits",[619,1103,1104,1107,1108,1111],{},[642,1105,1106],{},"Other sites."," Sign-in and every other change sent from another website are refused (",[623,1109,1110],{"href":266},"Request\nprotection","), so another site cannot sign a visitor's browser in to an account here.",[619,1113,1114],{},[642,1115,1116],{},"Passwords",[646,1118,1119,1122,1125,1128,1134,1140],{},[649,1120,1121],{},"12 to 256 characters, no composition rules (following NIST 800-63B). On the login form any non-empty password\nup to 256 characters is accepted for checking.",[649,1123,1124],{},"Only a strong hash is stored, never the password, and it is never shown.",[649,1126,1127],{},"Signing in with an unknown email takes as long as with a known one, so the timing does not reveal which emails have\naccounts.",[649,1129,1130,1131,633],{},"Checking a password takes a lot of memory, so only a few are checked at once; more sign-ins at the same moment wait\ntheir turn (a fraction of a second each). The team always goes before users signing in on the site, so a flood of\nuser sign-ins never keeps an editor out of the admin for long. When too many wait, signing in fails with \"Too many\npasswords are being checked at once. Try again in a moment.\" (in Dutch in a Dutch admin), recorded in the\n",[623,1132,1133],{"href":226},"error log",[649,1135,1136,1137,1139],{},"When a password cannot be checked at all (the server is out of memory, say), signing in fails with \"Internal server\nerror\", recorded in the ",[623,1138,1133],{"href":226},", never with \"wrong password\", and is not counted as a failed\nsign-in. The same holds for users signing in on the site.",[649,1141,1142],{},"Changing your own password ends all other sessions and keeps this browser signed in. An admin setting\nsomeone else's password ends all of their sessions.",[619,1144,1145],{},[642,1146,1147],{},"Sessions",[646,1149,1150,1153,1156,1159],{},[649,1151,1152],{},"A session lasts 14 days; using the admin more than a day after it was last renewed extends it to a full 14 days\nagain.",[649,1154,1155],{},"A session belongs to the admin's address only. It remembers the network address and browser it was made from.",[649,1157,1158],{},"Every check also looks at the account again: an inactive team member's or AI account's session never counts.",[649,1160,1161],{},"Signing out twice does no harm; only a real sign-out is in the audit log.",[619,1163,1164],{},[642,1165,1166],{},"Two-factor",[646,1168,1169,1176,1179,1182],{},[649,1170,1171,1172,1175],{},"Time-based codes from an authenticator app (issuer ",[665,1173,1174],{},"SHADE","). At least 8 backup codes; each works once.\nThe key is stored encrypted.",[649,1177,1178],{},"Turning it on needs the password and then a valid first code; turning it off needs the password.",[649,1180,1181],{},"After the password step you are not signed in yet: only the code finishes signing in.",[649,1183,1184],{},"Repeated wrong codes lock the code step for a while.",[619,1186,1187],{},[642,1188,1001],{},[646,1190,1191],{},[649,1192,1193],{},"A passkey works only at the address the team opens the admin at. If the admin moves to another address (for\nexample an address of its own), passkeys have to be set up again there.",[619,1195,1196],{},[642,1197,1198],{},"Who is refused",[646,1200,1201,1204],{},[649,1202,1203],{},"AI accounts and inactive team members never get a session, whatever the method (password, code, passkey).\nTurning a team member into an AI account removes their password and ends their sessions.",[649,1205,1206],{},"Team members without a password cannot sign in until an admin sets one (adding a passkey needs to be signed in\nfirst).",[619,1208,1209],{},[642,1210,688],{},[646,1212,1213,1219,1222,1225],{},[649,1214,1215,1216,1218],{},"The sign-in page links to ",[665,1217,741],{},": the editor enters their address and always sees the same answer\n(\"If an account has this address, a link … is on its way\"), so the page never tells whether an account exists, not\neven by how long it takes. Active editors and admins (not AI accounts, not inactive ones) get an email, in their\nadmin language, with a link that works once, for an hour.",[649,1220,1221],{},"The link opens a page to choose a new password (twice, at least 12 characters). Saving ends every session of the\naccount and makes all its links stop working; a used, expired or made-up link shows \"This link is invalid or has\nexpired\".",[649,1223,1224],{},"Both pages are limited like signing in.",[649,1226,1227,1228,1231],{},"Audit: ",[821,1229,1230],{},"team.password"," \"Asked for a password reset link\" and \"Set own password with an emailed link\".",[619,1233,1234],{},[642,1235,1236],{},"Rate limits",[646,1238,1239,1242],{},[649,1240,1241],{},"Password sign-in, the code step and passkey sign-in each allow 10 attempts per network address per 15 minutes\n(separate limits). Changing addresses within one connection does not reset the limit.",[649,1243,1244,1245,1248,1249,633],{},"Per account, however many addresses ask: 20 password sign-ins per 15 minutes, and 3 reset emails per hour.\nOver the limit the admin shows ",[665,1246,1247],{},"Too many requests. Try again later."," See ",[623,1250,265],{"href":266},[619,1252,1253,1256,1257,1259],{},[642,1254,1255],{},"Audit entries"," (see ",[623,1258,261],{"href":262},")",[759,1261,1262,1274],{},[762,1263,1264],{},[765,1265,1266,1268,1271],{},[768,1267,770],{},[768,1269,1270],{},"When",[768,1272,1273],{},"Summary",[778,1275,1276,1289,1302,1315,1327],{},[765,1277,1278,1283,1286],{},[783,1279,1280],{},[821,1281,1282],{},"team.login",[783,1284,1285],{},"every new session: password, two-factor or passkey (with the method and a scrambled form of the network address)",[783,1287,1288],{},"Signed in",[765,1290,1291,1296,1299],{},[783,1292,1293],{},[821,1294,1295],{},"team.login-failed",[783,1297,1298],{},"a refused password, or a wrong two-factor or backup code (with the address tried, the method and a scrambled form of the network address; no person)",[783,1300,1301],{},"Failed sign-in \u002F Failed sign-in code",[765,1303,1304,1309,1312],{},[783,1305,1306],{},[821,1307,1308],{},"team.logout",[783,1310,1311],{},"a session was ended by signing out",[783,1313,1314],{},"Signed out",[765,1316,1317,1321,1324],{},[783,1318,1319],{},[821,1320,1230],{},[783,1322,1323],{},"own password changed \u002F admin set someone's",[783,1325,1326],{},"Changed own password \u002F Set password of …",[765,1328,1329,1334,1337],{},[783,1330,1331],{},[821,1332,1333],{},"team.security",[783,1335,1336],{},"two-factor on, off or reset; passkey added or removed",[783,1338,1339],{},"Turned on two-factor, Turned off two-factor, Reset two-factor of …, Added a passkey, Removed a passkey",[635,1341,1343],{"id":1342},"for-developers","For developers",[619,1345,1346,1347,1350,1351,1354],{},"The code and its tests: ",[821,1348,1349],{},"shade\u002Ffeatures\u002Fteam\u002FREADME.md"," in the ",[821,1352,1353],{},"shade"," repository.",{"title":1356,"searchDepth":1357,"depth":1357,"links":1358},"",2,[1359,1360,1361,1362,1363,1367],{"id":637,"depth":1357,"text":638},{"id":756,"depth":1357,"text":757},{"id":843,"depth":1357,"text":844},{"id":1034,"depth":1357,"text":1035},{"id":1047,"depth":1357,"text":1048,"children":1364},[1365],{"id":1076,"depth":1366,"text":1077},3,{"id":1342,"depth":1357,"text":1343},"md",null,{},true,{"title":253,"description":1356},"wHIW3blmI9XWBk3alRYvrIvRthC9Dq2saWw31j0nN58",[1375,1376],{"title":249,"path":250,"stem":251,"description":1356,"children":-1},{"title":257,"path":258,"stem":259,"description":1356,"children":-1},1796500159538]