Skip to article frontmatterSkip to article content

Access Control for docs.cnclab.io

This site is protected with Google sign-in on the main site and a signed, HttpOnly cookie checked by an Edge Middleware on the docs site.

Quick admin tasksยถ

Environment variablesยถ

Set in BOTH projects (same values):

Generate a secret:

node -e "console.log(require('crypto').randomBytes(32).toString('base64').replace(/\+/g,'-').replace(/\//g,'_').replace(/=+$/g,''))"

How it worksยถ

Troubleshootingยถ