@knowcode/doc-builder 1.9.30 → 1.9.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +12 -2
- package/.claude/settings.local.json +0 -56
- package/CACHE-BUSTING-GUIDE.md +0 -82
- package/CLAUDE.md +0 -86
- package/CONTRIBUTING.md +0 -148
- package/GITHUB_SETUP.md +0 -203
- package/RELEASE-NOTES-1.7.5.md +0 -64
- package/Screenshot 2025-07-22 at 19.51.21.png +0 -0
- package/Screenshot 2025-07-26 at 17.06.49.png +0 -0
- package/add-user-clive.sql +0 -35
- package/add-user-lindsay-fixed.sql +0 -85
- package/add-user-lindsay.sql +0 -68
- package/add-user-pmorgan.sql +0 -35
- package/add-user-robbie.sql +0 -35
- package/add-wru-users.sql +0 -105
- package/debug-login.sql +0 -30
- package/doc-builder.config.js +0 -126
- package/doc-builder.config.js.backup.1753793768283 +0 -47
- package/doc-builder.config.js.backup.1753803964423 +0 -114
- package/doc-builder.config.js.backup.1753945707032 +0 -115
- package/doc-builder.config.js.backup.1754059241330 +0 -115
- package/doc-builder.config.js.backup.1754119567787 +0 -123
- package/doc-builder.config.js.backup.1754120048862 +0 -124
- package/doc-builder.config.js.backup.1754120529913 +0 -124
- package/doc-builder.config.js.backup.1754218469785 +0 -124
- package/doc-builder.config.js.backup.1754384764054 +0 -124
- package/doc-builder.config.js.backup.1754567425847 +0 -124
- package/doc-builder.config.js.backup.1754568137859 +0 -126
- package/doc-builder.config.js.backup.1754569388252 +0 -126
- package/doc-builder.config.js.backup.1754576694123 +0 -126
- package/doc-builder.config.js.backup.1755031374829 +0 -126
- package/doc-builder.config.js.backup.1755034500990 +0 -126
- package/doc-builder.config.js.backup.1755034809236 +0 -126
- package/grant-access.sql +0 -15
- package/html/11.png +0 -0
- package/html/404.html +0 -115
- package/html/README.html +0 -522
- package/html/Screenshot 2025-08-12 at 21.35.07.png +0 -0
- package/html/about-doc-builder.html +0 -491
- package/html/auth.js +0 -157
- package/html/claude-workflow-guide.html +0 -525
- package/html/css/notion-style.css +0 -2502
- package/html/documentation-index.html +0 -471
- package/html/guides/authentication-default-change.html +0 -370
- package/html/guides/authentication-guide.html +0 -509
- package/html/guides/cache-control-anti-pattern.html +0 -361
- package/html/guides/claude-workflow-guide.html +0 -1074
- package/html/guides/configuration-guide.html +0 -472
- package/html/guides/document-standards.html +0 -518
- package/html/guides/documentation-standards.html +0 -694
- package/html/guides/html-embedding-guide.html +0 -461
- package/html/guides/image-modal-guide.html +0 -515
- package/html/guides/next-steps-walkthrough.html +0 -638
- package/html/guides/phosphor-icons-guide.html +0 -584
- package/html/guides/private-directory-authentication-troubleshooting.html +0 -555
- package/html/guides/private-directory-authentication.html +0 -541
- package/html/guides/public-site-deployment.html +0 -431
- package/html/guides/search-engine-verification-guide.html +0 -542
- package/html/guides/seo-guide.html +0 -661
- package/html/guides/seo-optimization-guide.html +0 -887
- package/html/guides/supabase-auth-implementation-plan.html +0 -543
- package/html/guides/supabase-auth-integration-plan.html +0 -671
- package/html/guides/supabase-auth-setup-guide.html +0 -498
- package/html/guides/supabase-authentication-complete-guide.html +0 -866
- package/html/guides/troubleshooting-guide.html +0 -633
- package/html/guides/vercel-deployment-auth-setup.html +0 -337
- package/html/guides/windows-setup-guide.html +0 -859
- package/html/image-modal-test.html +0 -318
- package/html/index.html +0 -522
- package/html/js/auth.js +0 -157
- package/html/js/main.js +0 -1754
- package/html/launch/README.html +0 -297
- package/html/launch/bubble-plugin-specification.html +0 -933
- package/html/launch/go-to-market-strategy.html +0 -663
- package/html/launch/launch-announcements.html +0 -593
- package/html/login.html +0 -102
- package/html/logout.html +0 -18
- package/html/private/cache-control-anti-pattern.html +0 -429
- package/html/private/launch/README.html +0 -371
- package/html/private/launch/auth-cleanup-summary.html +0 -361
- package/html/private/launch/bubble-plugin-specification.html +0 -1007
- package/html/private/launch/go-to-market-strategy.html +0 -737
- package/html/private/launch/launch-announcements.html +0 -667
- package/html/private/launch/vercel-deployment-auth-setup.html +0 -417
- package/html/private/next-steps-walkthrough.html +0 -679
- package/html/private/supabase-auth-implementation-completed.html +0 -454
- package/html/private/supabase-auth-implementation-plan.html +0 -594
- package/html/private/supabase-auth-integration-plan.html +0 -704
- package/html/private/supabase-auth-setup-guide.html +0 -555
- package/html/private/test-private-doc.html +0 -302
- package/html/private/user-management-tooling.html +0 -601
- package/html/prompts/Screenshot 2025-08-02 at 08.49.55.png +0 -0
- package/html/prompts/beautiful-documentation-design.html +0 -784
- package/html/prompts/markdown-document-standards.html +0 -422
- package/html/prompts/project-rename-strategy-sasha-publish.html +0 -530
- package/html/robots.txt +0 -9
- package/html/sitemap.xml +0 -357
- package/html/test-questions/how-does-it-work%3F.html +0 -294
- package/html/test-questions/step-1%3A%20getting-started.html +0 -289
- package/html/test-questions/what-is-the-purpose.html +0 -293
- package/html/test-status.html +0 -281
- package/html/vercel-cli-setup-guide.html +0 -495
- package/html/vercel-first-time-setup-guide.html +0 -454
- package/html/vercel.json +0 -29
- package/html-static/11.png +0 -0
- package/html-static/404.html +0 -115
- package/html-static/README.html +0 -609
- package/html-static/Screenshot 2025-08-12 at 21.35.07.png +0 -0
- package/html-static/about-doc-builder.html +0 -578
- package/html-static/css/notion-style.css +0 -2502
- package/html-static/documentation-index.html +0 -558
- package/html-static/guides/authentication-default-change.html +0 -457
- package/html-static/guides/authentication-guide.html +0 -596
- package/html-static/guides/claude-workflow-guide.html +0 -1161
- package/html-static/guides/configuration-guide.html +0 -559
- package/html-static/guides/documentation-standards.html +0 -781
- package/html-static/guides/html-embedding-guide.html +0 -548
- package/html-static/guides/image-modal-guide.html +0 -602
- package/html-static/guides/phosphor-icons-guide.html +0 -671
- package/html-static/guides/private-directory-authentication-troubleshooting.html +0 -642
- package/html-static/guides/private-directory-authentication.html +0 -628
- package/html-static/guides/public-site-deployment.html +0 -518
- package/html-static/guides/search-engine-verification-guide.html +0 -629
- package/html-static/guides/seo-guide.html +0 -748
- package/html-static/guides/seo-optimization-guide.html +0 -974
- package/html-static/guides/supabase-authentication-complete-guide.html +0 -953
- package/html-static/guides/troubleshooting-guide.html +0 -720
- package/html-static/guides/windows-setup-guide.html +0 -946
- package/html-static/image-modal-test.html +0 -405
- package/html-static/index.html +0 -609
- package/html-static/js/main.js +0 -1754
- package/html-static/prompts/Screenshot 2025-08-02 at 08.49.55.png +0 -0
- package/html-static/prompts/beautiful-documentation-design.html +0 -871
- package/html-static/prompts/markdown-document-standards.html +0 -509
- package/html-static/prompts/project-rename-strategy-sasha-publish.html +0 -617
- package/html-static/robots.txt +0 -5
- package/html-static/sitemap.xml +0 -195
- package/html-static/test-questions/how-does-it-work%3F.html +0 -381
- package/html-static/test-questions/step-1%3A%20getting-started.html +0 -376
- package/html-static/test-questions/what-is-the-purpose.html +0 -380
- package/html-static/vercel-cli-setup-guide.html +0 -582
- package/html-static/vercel-first-time-setup-guide.html +0 -541
- package/manage-users.sql +0 -191
- package/migrate-to-domain-auth.sql +0 -47
- package/package/CACHE-BUSTING-GUIDE.md +0 -82
- package/package/CHANGELOG.md +0 -902
- package/package/README.md +0 -248
- package/package/assets/css/notion-style.css +0 -2211
- package/package/assets/js/auth.js +0 -67
- package/package/assets/js/main.js +0 -1565
- package/package/cli.js +0 -764
- package/package/index.js +0 -38
- package/package/knowcode-doc-builder-1.3.15.tgz +0 -0
- package/package/lib/builder.js +0 -32
- package/package/lib/config.js +0 -278
- package/package/lib/core-builder.js +0 -957
- package/package/lib/deploy.js +0 -497
- package/package/lib/dev-server.js +0 -96
- package/package/package.json +0 -34
- package/package/scripts/npx-runner.js +0 -27
- package/package/scripts/setup.js +0 -56
- package/package/test-cache-bust.sh +0 -43
- package/public-config.js +0 -22
- package/public-html/404.html +0 -115
- package/public-html/README.html +0 -149
- package/public-html/css/notion-style.css +0 -2036
- package/public-html/index.html +0 -149
- package/public-html/js/auth.js +0 -67
- package/public-html/js/main.js +0 -1485
- package/quick-test-commands.md +0 -40
- package/recordings/Screenshot 2025-07-24 at 18.22.01.png +0 -0
- package/recordings/mh-ls-22jul.txt +0 -2305
- package/screenshot.png +0 -0
- package/scripts/Screenshot 2025-07-23 at 15.39.41.png +0 -0
- package/setup-database-v2.sql +0 -53
- package/setup-database.sql +0 -41
- package/test-auth-config.js +0 -17
- package/test-cache-bust.sh +0 -43
- package/test-docs/README.md +0 -39
- package/test-html/404.html +0 -115
- package/test-html/README.html +0 -172
- package/test-html/auth.js +0 -97
- package/test-html/css/notion-style.css +0 -2036
- package/test-html/index.html +0 -172
- package/test-html/js/auth.js +0 -97
- package/test-html/js/main.js +0 -1485
- package/test-html/login.html +0 -102
- package/test-html/logout.html +0 -18
- package/update-domain.sql +0 -9
- package/user-access-view.sql +0 -49
- package/user-management/README.md +0 -301
- package/user-management/add-users.sh +0 -776
- package/user-management/create-user.js +0 -65
- package/user-management/users.txt +0 -15
- package/view-all-users.sql +0 -40
- package/wru-auth-config.js +0 -17
|
@@ -1,543 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
-
<meta name="description" content="This document outlines the complete plan for integrating Supabase authentication into @knowcode/doc-builder, providing a simple but secure authentication...">
|
|
7
|
-
<title>Supabase Auth Implementation Plan for @knowcode...</title>
|
|
8
|
-
|
|
9
|
-
<meta name="author" content="Lindsay Smith">
|
|
10
|
-
<meta name="keywords" content="documentation, markdown, static site generator, vercel, notion-style, auth, supabase">
|
|
11
|
-
<meta name="robots" content="index, follow">
|
|
12
|
-
<link rel="canonical" href="https://doc-builder-delta.vercel.app/guides/supabase-auth-implementation-plan.html">
|
|
13
|
-
|
|
14
|
-
<!-- Open Graph / Facebook -->
|
|
15
|
-
<meta property="og:type" content="article">
|
|
16
|
-
<meta property="og:url" content="https://doc-builder-delta.vercel.app/guides/supabase-auth-implementation-plan.html">
|
|
17
|
-
<meta property="og:title" content="Supabase Auth Implementation Plan for @knowcode...">
|
|
18
|
-
<meta property="og:description" content="This document outlines the complete plan for integrating Supabase authentication into @knowcode/doc-builder, providing a simple but secure authentication...">
|
|
19
|
-
<meta property="og:image" content="https://doc-builder-delta.vercel.app/og-default.png">
|
|
20
|
-
<meta property="og:site_name" content="@knowcode/doc-builder">
|
|
21
|
-
<meta property="og:locale" content="en_US">
|
|
22
|
-
|
|
23
|
-
<!-- Twitter Card -->
|
|
24
|
-
<meta name="twitter:card" content="summary_large_image">
|
|
25
|
-
<meta name="twitter:site" content="@planbbackups">
|
|
26
|
-
<meta name="twitter:creator" content="@planbbackups">
|
|
27
|
-
<meta name="twitter:title" content="Supabase Auth Implementation Plan for @knowcode...">
|
|
28
|
-
<meta name="twitter:description" content="This document outlines the complete plan for integrating Supabase authentication into @knowcode/doc-builder, providing a simple but secure authentication...">
|
|
29
|
-
<meta name="twitter:image" content="https://doc-builder-delta.vercel.app/og-default.png">
|
|
30
|
-
|
|
31
|
-
<!-- Custom Meta Tags -->
|
|
32
|
-
<meta name="google-site-verification" content="FtzcDTf5BQ9K5EfnGazQkgU2U4FiN3ITzM7gHwqUAqQ">
|
|
33
|
-
<meta name="msvalidate.01" content="B2D8C4C12C530D47AA962B24CAA09630">
|
|
34
|
-
|
|
35
|
-
<!-- Fonts -->
|
|
36
|
-
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet">
|
|
37
|
-
|
|
38
|
-
<!-- Icons -->
|
|
39
|
-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
|
40
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@phosphor-icons/web@2.1.1/src/regular/style.css">
|
|
41
|
-
|
|
42
|
-
<!-- Mermaid -->
|
|
43
|
-
<script src="https://cdn.jsdelivr.net/npm/mermaid@10.6.1/dist/mermaid.min.js"></script>
|
|
44
|
-
|
|
45
|
-
<!-- Styles -->
|
|
46
|
-
<link rel="stylesheet" href="/css/notion-style.css">
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
<!-- Favicon -->
|
|
51
|
-
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>✨</text></svg>">
|
|
52
|
-
|
|
53
|
-
<script type="application/ld+json">
|
|
54
|
-
{
|
|
55
|
-
"@context": "https://schema.org",
|
|
56
|
-
"@type": "TechArticle",
|
|
57
|
-
"headline": "Supabase Auth Implementation Plan for @knowcode/doc-builder",
|
|
58
|
-
"description": "This document outlines the complete plan for integrating Supabase authentication into @knowcode/doc-builder, providing a simple but secure authentication...",
|
|
59
|
-
"author": {
|
|
60
|
-
"@type": "Person",
|
|
61
|
-
"name": "Lindsay Smith"
|
|
62
|
-
},
|
|
63
|
-
"publisher": {
|
|
64
|
-
"@type": "Organization",
|
|
65
|
-
"name": "Knowcode Ltd",
|
|
66
|
-
"url": "https://knowcode.tech"
|
|
67
|
-
},
|
|
68
|
-
"datePublished": "2025-07-25T13:49:06.551Z",
|
|
69
|
-
"dateModified": "2025-07-25T13:49:06.551Z",
|
|
70
|
-
"mainEntityOfPage": {
|
|
71
|
-
"@type": "WebPage",
|
|
72
|
-
"@id": "https://doc-builder-delta.vercel.app/guides/supabase-auth-implementation-plan.html"
|
|
73
|
-
},
|
|
74
|
-
"breadcrumb": {
|
|
75
|
-
"@type": "BreadcrumbList",
|
|
76
|
-
"itemListElement": [
|
|
77
|
-
{
|
|
78
|
-
"@type": "ListItem",
|
|
79
|
-
"position": 1,
|
|
80
|
-
"name": "@knowcode/doc-builder",
|
|
81
|
-
"item": "https://doc-builder-delta.vercel.app"
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"@type": "ListItem",
|
|
85
|
-
"position": 2,
|
|
86
|
-
"name": "Guides",
|
|
87
|
-
"item": "https://doc-builder-delta.vercel.app/guides/"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"@type": "ListItem",
|
|
91
|
-
"position": 3,
|
|
92
|
-
"name": "Supabase Auth Implementation Plan",
|
|
93
|
-
"item": "https://doc-builder-delta.vercel.app/guides/supabase-auth-implementation-plan.html"
|
|
94
|
-
}
|
|
95
|
-
]
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
</script>
|
|
99
|
-
</head>
|
|
100
|
-
<body>
|
|
101
|
-
<!-- Header -->
|
|
102
|
-
<header class="header">
|
|
103
|
-
<div class="header-content">
|
|
104
|
-
<a href="/index.html" class="logo">@knowcode/doc-builder</a>
|
|
105
|
-
|
|
106
|
-
<div class="header-actions">
|
|
107
|
-
<div class="deployment-info">
|
|
108
|
-
<span class="deployment-date" title="Built with doc-builder v1.7.5">Last updated: Jul 25, 2025, 01:49 PM UTC</span>
|
|
109
|
-
</div>
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
<button id="theme-toggle" class="theme-toggle" aria-label="Toggle theme">
|
|
114
|
-
<i class="fas fa-moon"></i>
|
|
115
|
-
</button>
|
|
116
|
-
|
|
117
|
-
<button id="menu-toggle" class="menu-toggle" aria-label="Toggle menu">
|
|
118
|
-
<i class="fas fa-bars"></i>
|
|
119
|
-
</button>
|
|
120
|
-
</div>
|
|
121
|
-
</div>
|
|
122
|
-
</header>
|
|
123
|
-
|
|
124
|
-
<!-- Preview Banner -->
|
|
125
|
-
<div id="preview-banner" class="preview-banner">
|
|
126
|
-
<div class="banner-content">
|
|
127
|
-
<i class="fas fa-exclamation-triangle banner-icon"></i>
|
|
128
|
-
<span class="banner-text">This documentation is a preview version - some content may be incomplete</span>
|
|
129
|
-
<button id="dismiss-banner" class="banner-dismiss" aria-label="Dismiss banner">
|
|
130
|
-
<i class="fas fa-times"></i>
|
|
131
|
-
</button>
|
|
132
|
-
</div>
|
|
133
|
-
</div>
|
|
134
|
-
|
|
135
|
-
<!-- Breadcrumbs -->
|
|
136
|
-
<nav class="breadcrumbs" id="breadcrumbs">
|
|
137
|
-
<!-- Breadcrumbs will be generated by JavaScript -->
|
|
138
|
-
</nav>
|
|
139
|
-
|
|
140
|
-
<!-- Main Content -->
|
|
141
|
-
<div class="main-wrapper">
|
|
142
|
-
<!-- Sidebar -->
|
|
143
|
-
<aside class="sidebar">
|
|
144
|
-
<div class="sidebar-header">
|
|
145
|
-
<div class="filter-box">
|
|
146
|
-
<input type="text" placeholder="Filter items..." class="filter-input" id="nav-filter">
|
|
147
|
-
<i class="fas fa-search filter-icon"></i>
|
|
148
|
-
</div>
|
|
149
|
-
</div>
|
|
150
|
-
<nav class="navigation">
|
|
151
|
-
|
|
152
|
-
<div class="nav-section" data-level="0">
|
|
153
|
-
<a class="nav-title" href="/README.html" >
|
|
154
|
-
<i class="fas fa-home"></i> Documentation
|
|
155
|
-
</a>
|
|
156
|
-
<div class="nav-content" >
|
|
157
|
-
<a href="/README.html" class="nav-item" data-tooltip="@knowcode/doc-builder."><i class="fas fa-file-alt"></i> Overview</a>
|
|
158
|
-
<a href="/documentation-index.html" class="nav-item" data-tooltip="This directory contains additional documentation for the @knowcode/doc-builder project, organized by topic and purpose."><i class="fas fa-file-alt"></i> Documentation Index</a>
|
|
159
|
-
<a href="/vercel-cli-setup-guide.html" class="nav-item" data-tooltip="This guide provides comprehensive instructions for installing the Vercel CLI across different operating systems."><i class="fas fa-file-alt"></i> Vercel Cli Setup Guide</a>
|
|
160
|
-
<a href="/vercel-first-time-setup-guide.html" class="nav-item" data-tooltip="This guide walks you through the Vercel deployment process when using ."><i class="fas fa-file-alt"></i> Vercel First Time Setup Guide</a></div></div>
|
|
161
|
-
<div class="nav-section" data-level="1">
|
|
162
|
-
<a class="nav-title collapsible expanded" href="#" data-target="nav-guides-1" >
|
|
163
|
-
<i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Guides
|
|
164
|
-
</a>
|
|
165
|
-
<div class="nav-content" id="nav-guides-1">
|
|
166
|
-
<a href="/guides/authentication-default-change.html" class="nav-item" data-tooltip="Starting from version 1.7.4, @knowcode/doc-builder now defaults to no authentication for all documentation sites."><i class="fas fa-file-alt"></i> Authentication Default Change</a>
|
|
167
|
-
<a href="/guides/authentication-guide.html" class="nav-item" data-tooltip="🚨 This authentication method has been REMOVED in version 2.0.0 due to serious security flaws."><i class="fas fa-file-alt"></i> Authentication Guide</a>
|
|
168
|
-
<a href="/guides/cache-control-anti-pattern.html" class="nav-item" data-tooltip="Cache Control Anti-Pattern: Why Aggressive Cache-Busting is Bad for Documentation Sites."><i class="fas fa-file-alt"></i> Cache Control Anti Pattern</a>
|
|
169
|
-
<a href="/guides/claude-workflow-guide.html" class="nav-item" data-tooltip="This guide demonstrates an efficient workflow for using Claude Code with a refined CLAUDE.md file to create high-quality documentation and deploy it..."><i class="fas fa-file-alt"></i> Claude Workflow Guide</a>
|
|
170
|
-
<a href="/guides/documentation-standards.html" class="nav-item" data-tooltip="This document defines the documentation standards and conventions for the @knowcode/doc-builder project."><i class="fas fa-file-alt"></i> Documentation Standards</a>
|
|
171
|
-
<a href="/guides/next-steps-walkthrough.html" class="nav-item" data-tooltip="Now that we've implemented Supabase authentication, let's walk through testing the implementation and preparing for deployment."><i class="fas fa-file-alt"></i> Next Steps Walkthrough</a>
|
|
172
|
-
<a href="/guides/phosphor-icons-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder automatically converts Unicode emojis in your markdown files to beautiful Phosphor icons in the generated HTML."><i class="fas fa-file-alt"></i> Phosphor Icons Guide</a>
|
|
173
|
-
<a href="/guides/public-site-deployment.html" class="nav-item" data-tooltip="The @knowcode/doc-builder now supports deploying public documentation sites without authentication."><i class="fas fa-file-alt"></i> Public Site Deployment</a>
|
|
174
|
-
<a href="/guides/search-engine-verification-guide.html" class="nav-item" data-tooltip="Search engine verification provides access to powerful webmaster tools:."><i class="fas fa-file-alt"></i> Search Engine Verification Guide</a>
|
|
175
|
-
<a href="/guides/seo-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features to help your documentation rank better in search results and..."><i class="fas fa-file-alt"></i> Seo Guide</a>
|
|
176
|
-
<a href="/guides/seo-optimization-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder includes comprehensive SEO (Search Engine Optimization) features that automatically optimize your documentation for search..."><i class="fas fa-file-alt"></i> Seo Optimization Guide</a>
|
|
177
|
-
<a href="/guides/supabase-auth-implementation-plan.html" class="nav-item active" data-tooltip="Supabase Auth Implementation Plan for @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Supabase Auth Implementation Plan</a>
|
|
178
|
-
<a href="/guides/supabase-auth-integration-plan.html" class="nav-item" data-tooltip="Supabase Authentication Integration Plan for @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Supabase Auth Integration Plan</a>
|
|
179
|
-
<a href="/guides/supabase-auth-setup-guide.html" class="nav-item" data-tooltip="@knowcode/doc-builder now supports enterprise-grade authentication through Supabase, replacing the previous insecure basic authentication."><i class="fas fa-file-alt"></i> Supabase Auth Setup Guide</a>
|
|
180
|
-
<a href="/guides/troubleshooting-guide.html" class="nav-item" data-tooltip="This guide helps you resolve common issues when using @knowcode/doc-builder."><i class="fas fa-file-alt"></i> Troubleshooting Guide</a>
|
|
181
|
-
<a href="/guides/vercel-deployment-auth-setup.html" class="nav-item" data-tooltip="Vercel Deployment Authentication Setup Guide."><i class="fas fa-file-alt"></i> Vercel Deployment Auth Setup</a>
|
|
182
|
-
<a href="/guides/windows-setup-guide.html" class="nav-item" data-tooltip="This guide helps Windows users set up the complete AI-powered documentation workflow using Claude Code, @knowcode/doc-builder, and Vercel."><i class="fas fa-file-alt"></i> Windows Setup Guide</a></div></div>
|
|
183
|
-
<div class="nav-section" data-level="1">
|
|
184
|
-
<a class="nav-title collapsible" href="/launch/README.html" data-target="nav-launch-1" >
|
|
185
|
-
<i class="fas fa-chevron-right collapse-icon"></i><i class="fas fa-folder"></i> Launch
|
|
186
|
-
</a>
|
|
187
|
-
<div class="nav-content collapsed" id="nav-launch-1">
|
|
188
|
-
<a href="/launch/README.html" class="nav-item" data-tooltip="This directory contains all documentation related to the commercial launch of @knowcode/doc-builder, including go-to-market strategy, platform..."><i class="fas fa-file-alt"></i> Launch Overview</a>
|
|
189
|
-
<a href="/launch/bubble-plugin-specification.html" class="nav-item" data-tooltip="This document outlines the technical specification for creating a Bubble.io plugin that integrates @knowcode/doc-builder, enabling Bubble developers..."><i class="fas fa-file-alt"></i> Bubble Plugin Specification</a>
|
|
190
|
-
<a href="/launch/go-to-market-strategy.html" class="nav-item" data-tooltip="Go-to-Market Strategy & Product Launch Plan."><i class="fas fa-file-alt"></i> Go To Market Strategy</a>
|
|
191
|
-
<a href="/launch/launch-announcements.html" class="nav-item" data-tooltip="This document contains ready-to-use announcement templates for launching @knowcode/doc-builder across various platforms and channels."><i class="fas fa-file-alt"></i> Launch Announcements</a></div></div>
|
|
192
|
-
</nav>
|
|
193
|
-
<div class="resize-handle"></div>
|
|
194
|
-
</aside>
|
|
195
|
-
|
|
196
|
-
<!-- Content Area -->
|
|
197
|
-
<main class="content">
|
|
198
|
-
<div class="content-inner">
|
|
199
|
-
<h1>Supabase Auth Implementation Plan for @knowcode/doc-builder</h1>
|
|
200
|
-
<h2>Implementation Overview</h2>
|
|
201
|
-
<p>This document outlines the complete plan for integrating Supabase authentication into @knowcode/doc-builder, providing a simple but secure authentication system that leverages Supabase's built-in auth functionality.</p>
|
|
202
|
-
<h2>Goals</h2>
|
|
203
|
-
<ol>
|
|
204
|
-
<li><strong>Simplicity</strong>: Minimal configuration and setup required</li>
|
|
205
|
-
<li><strong>Security</strong>: Leverage Supabase's enterprise-grade authentication</li>
|
|
206
|
-
<li><strong>Clean Architecture</strong>: Remove insecure basic auth entirely</li>
|
|
207
|
-
<li><strong>Future-Proof</strong>: Single, secure authentication method</li>
|
|
208
|
-
</ol>
|
|
209
|
-
<h2>Architecture Summary</h2>
|
|
210
|
-
<div class="mermaid-wrapper">
|
|
211
|
-
<div class="mermaid">graph TD
|
|
212
|
-
subgraph "Build Time"
|
|
213
|
-
Config[doc-builder.config.js]
|
|
214
|
-
Build[Build Process]
|
|
215
|
-
Config --> Build
|
|
216
|
-
Build --> AuthJS[Generate auth.js]
|
|
217
|
-
Build --> LoginPage[Generate login.html]
|
|
218
|
-
Build --> SDK[Include Supabase SDK]
|
|
219
|
-
end
|
|
220
|
-
|
|
221
|
-
subgraph "Runtime"
|
|
222
|
-
User[User Visit]
|
|
223
|
-
User --> Check{Auth Check}
|
|
224
|
-
Check -->|No Auth| Login
|
|
225
|
-
Check -->|Has Auth| Access{Access Check}
|
|
226
|
-
Access -->|Allowed| Docs[Show Docs]
|
|
227
|
-
Access -->|Denied| Denied[Access Denied]
|
|
228
|
-
Login --> SupaAuth[Supabase Auth]
|
|
229
|
-
SupaAuth --> Check
|
|
230
|
-
end
|
|
231
|
-
|
|
232
|
-
subgraph "Supabase"
|
|
233
|
-
AuthUsers[auth.users]
|
|
234
|
-
DocSites[docbuilder_sites]
|
|
235
|
-
DocAccess[docbuilder_access]
|
|
236
|
-
AuthUsers -.-> DocAccess
|
|
237
|
-
DocAccess -.-> DocSites
|
|
238
|
-
end</div>
|
|
239
|
-
</div>
|
|
240
|
-
<h2>Database Schema</h2>
|
|
241
|
-
<pre><code class="language-sql">-- Table 1: Documentation sites
|
|
242
|
-
CREATE TABLE docbuilder_sites (
|
|
243
|
-
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
244
|
-
domain TEXT UNIQUE NOT NULL,
|
|
245
|
-
name TEXT NOT NULL,
|
|
246
|
-
created_at TIMESTAMPTZ DEFAULT NOW()
|
|
247
|
-
);
|
|
248
|
-
|
|
249
|
-
-- Table 2: User access mapping
|
|
250
|
-
CREATE TABLE docbuilder_access (
|
|
251
|
-
user_id UUID REFERENCES auth.users(id) ON DELETE CASCADE,
|
|
252
|
-
site_id UUID REFERENCES docbuilder_sites(id) ON DELETE CASCADE,
|
|
253
|
-
created_at TIMESTAMPTZ DEFAULT NOW(),
|
|
254
|
-
PRIMARY KEY (user_id, site_id)
|
|
255
|
-
);
|
|
256
|
-
|
|
257
|
-
-- Enable Row Level Security
|
|
258
|
-
ALTER TABLE docbuilder_sites ENABLE ROW LEVEL SECURITY;
|
|
259
|
-
ALTER TABLE docbuilder_access ENABLE ROW LEVEL SECURITY;
|
|
260
|
-
|
|
261
|
-
-- RLS Policies
|
|
262
|
-
CREATE POLICY "Users see accessible sites" ON docbuilder_sites
|
|
263
|
-
FOR SELECT USING (
|
|
264
|
-
EXISTS (
|
|
265
|
-
SELECT 1 FROM docbuilder_access
|
|
266
|
-
WHERE site_id = docbuilder_sites.id
|
|
267
|
-
AND user_id = auth.uid()
|
|
268
|
-
)
|
|
269
|
-
);
|
|
270
|
-
|
|
271
|
-
CREATE POLICY "Users see own access" ON docbuilder_access
|
|
272
|
-
FOR SELECT USING (user_id = auth.uid());
|
|
273
|
-
</code></pre>
|
|
274
|
-
<h2>Implementation Steps</h2>
|
|
275
|
-
<h3>Phase 1: Core Infrastructure</h3>
|
|
276
|
-
<h4>1.1 Update Configuration System</h4>
|
|
277
|
-
<ul>
|
|
278
|
-
<li>Replace auth types with: <code>false</code> (no auth) or <code>'supabase'</code> (secure auth)</li>
|
|
279
|
-
<li>Remove all basic auth configuration fields</li>
|
|
280
|
-
<li>Clean up insecure authentication references</li>
|
|
281
|
-
</ul>
|
|
282
|
-
<p><strong>File</strong>: <code>lib/config.js</code></p>
|
|
283
|
-
<pre><code class="language-javascript">// Updated auth configuration - REMOVE basic auth fields
|
|
284
|
-
auth: {
|
|
285
|
-
// Only Supabase fields remain
|
|
286
|
-
supabaseUrl: '',
|
|
287
|
-
supabaseAnonKey: '',
|
|
288
|
-
siteId: ''
|
|
289
|
-
}
|
|
290
|
-
</code></pre>
|
|
291
|
-
<h4>1.2 Create Supabase Auth Module</h4>
|
|
292
|
-
<p><strong>New File</strong>: <code>lib/supabase-auth.js</code></p>
|
|
293
|
-
<ul>
|
|
294
|
-
<li>Supabase client initialization</li>
|
|
295
|
-
<li>Auth check functionality</li>
|
|
296
|
-
<li>Access verification</li>
|
|
297
|
-
<li>Session management helpers</li>
|
|
298
|
-
</ul>
|
|
299
|
-
<h4>1.3 Update Core Builder</h4>
|
|
300
|
-
<p><strong>File</strong>: <code>lib/core-builder.js</code></p>
|
|
301
|
-
<ul>
|
|
302
|
-
<li>Detect Supabase auth configuration</li>
|
|
303
|
-
<li>Generate appropriate auth files</li>
|
|
304
|
-
<li>Include Supabase SDK in build output</li>
|
|
305
|
-
</ul>
|
|
306
|
-
<h3>Phase 2: Client-Side Implementation</h3>
|
|
307
|
-
<h4>2.1 Supabase Auth Script</h4>
|
|
308
|
-
<p><strong>Generated File</strong>: <code>js/auth.js</code></p>
|
|
309
|
-
<pre><code class="language-javascript">// Clean Supabase-only auth checking logic
|
|
310
|
-
// - Check for valid session
|
|
311
|
-
// - Verify site access
|
|
312
|
-
// - Handle redirects
|
|
313
|
-
// - No fallback to basic auth
|
|
314
|
-
</code></pre>
|
|
315
|
-
<h4>2.2 Login Page Generation</h4>
|
|
316
|
-
<p><strong>Generated File</strong>: <code>login.html</code></p>
|
|
317
|
-
<ul>
|
|
318
|
-
<li>Email/password form</li>
|
|
319
|
-
<li>Supabase auth integration</li>
|
|
320
|
-
<li>Error handling</li>
|
|
321
|
-
<li>Redirect management</li>
|
|
322
|
-
</ul>
|
|
323
|
-
<h4>2.3 Logout Functionality</h4>
|
|
324
|
-
<ul>
|
|
325
|
-
<li>Clear Supabase session</li>
|
|
326
|
-
<li>Redirect to login page</li>
|
|
327
|
-
<li>Clean up any local storage</li>
|
|
328
|
-
</ul>
|
|
329
|
-
<h3>Phase 3: Build Process Updates</h3>
|
|
330
|
-
<h4>3.1 SDK Integration</h4>
|
|
331
|
-
<ul>
|
|
332
|
-
<li>Download Supabase client library during build</li>
|
|
333
|
-
<li>Include in output directory</li>
|
|
334
|
-
<li>Optimize for production use</li>
|
|
335
|
-
</ul>
|
|
336
|
-
<h4>3.2 Environment Variable Support</h4>
|
|
337
|
-
<pre><code class="language-bash"># Support for environment variables
|
|
338
|
-
SUPABASE_URL=https://xxx.supabase.co
|
|
339
|
-
SUPABASE_ANON_KEY=xxx
|
|
340
|
-
DOC_SITE_ID=uuid
|
|
341
|
-
</code></pre>
|
|
342
|
-
<h4>3.3 Build Validation</h4>
|
|
343
|
-
<ul>
|
|
344
|
-
<li>Check for required Supabase configuration</li>
|
|
345
|
-
<li>Validate connection to Supabase</li>
|
|
346
|
-
<li>Warn about missing setup</li>
|
|
347
|
-
</ul>
|
|
348
|
-
<h3>Phase 4: User Management Tools</h3>
|
|
349
|
-
<h4>4.1 CLI Commands</h4>
|
|
350
|
-
<p><strong>File</strong>: <code>cli.js</code> - Major updates needed</p>
|
|
351
|
-
<pre><code class="language-bash"># Initialize Supabase auth for project
|
|
352
|
-
npx @knowcode/doc-builder auth:init
|
|
353
|
-
|
|
354
|
-
# Add site to Supabase database
|
|
355
|
-
npx @knowcode/doc-builder auth:add-site --domain docs.example.com --name "Company Docs"
|
|
356
|
-
|
|
357
|
-
# Grant user access to site
|
|
358
|
-
npx @knowcode/doc-builder auth:grant --email user@example.com --site-id xxx
|
|
359
|
-
|
|
360
|
-
# Revoke user access
|
|
361
|
-
npx @knowcode/doc-builder auth:revoke --email user@example.com --site-id xxx
|
|
362
|
-
|
|
363
|
-
# List users with access to site
|
|
364
|
-
npx @knowcode/doc-builder auth:list-users --site-id xxx
|
|
365
|
-
|
|
366
|
-
# List all sites user has access to
|
|
367
|
-
npx @knowcode/doc-builder auth:list-sites --email user@example.com
|
|
368
|
-
|
|
369
|
-
# Remove the old --no-auth flag (no longer needed)
|
|
370
|
-
# Add validation for Supabase configuration
|
|
371
|
-
</code></pre>
|
|
372
|
-
<h4>4.2 Admin Script</h4>
|
|
373
|
-
<p><strong>New File</strong>: <code>lib/admin/supabase-admin.js</code></p>
|
|
374
|
-
<ul>
|
|
375
|
-
<li>Simple Node.js script for user management</li>
|
|
376
|
-
<li>Can be used standalone or via CLI</li>
|
|
377
|
-
<li>Requires service role key for admin operations</li>
|
|
378
|
-
</ul>
|
|
379
|
-
<h3>Phase 5: Documentation and Migration</h3>
|
|
380
|
-
<h4>5.1 Documentation Updates</h4>
|
|
381
|
-
<ul>
|
|
382
|
-
<li>Update main README with Supabase auth option</li>
|
|
383
|
-
<li>Create detailed Supabase setup guide</li>
|
|
384
|
-
<li>Add troubleshooting section</li>
|
|
385
|
-
<li>Include migration guide from basic auth</li>
|
|
386
|
-
</ul>
|
|
387
|
-
<h4>5.2 Migration Path</h4>
|
|
388
|
-
<ul>
|
|
389
|
-
<li>Scripts to migrate from basic auth to Supabase</li>
|
|
390
|
-
<li>Bulk user import functionality</li>
|
|
391
|
-
<li>Backward compatibility period</li>
|
|
392
|
-
</ul>
|
|
393
|
-
<h2>File Changes Summary</h2>
|
|
394
|
-
<h3>Modified Files</h3>
|
|
395
|
-
<ol>
|
|
396
|
-
<li><code>lib/config.js</code> - Replace basic auth with Supabase configuration</li>
|
|
397
|
-
<li><code>lib/core-builder.js</code> - Remove basic auth, add Supabase auth generation</li>
|
|
398
|
-
<li><code>html/js/auth.js</code> - Remove basic auth logic entirely</li>
|
|
399
|
-
<li><code>cli.js</code> - <strong>MAJOR UPDATE</strong>: Add auth management commands, remove --no-auth flag</li>
|
|
400
|
-
<li><code>package.json</code> - Add @supabase/supabase-js dependency</li>
|
|
401
|
-
<li><code>README.md</code> - Document Supabase auth (remove basic auth docs)</li>
|
|
402
|
-
</ol>
|
|
403
|
-
<h3>New Files</h3>
|
|
404
|
-
<ol>
|
|
405
|
-
<li><code>lib/supabase-auth.js</code> - Supabase auth utilities</li>
|
|
406
|
-
<li><code>lib/admin/supabase-admin.js</code> - Admin management script</li>
|
|
407
|
-
<li><code>docs/guides/supabase-setup-guide.md</code> - Setup documentation</li>
|
|
408
|
-
<li><code>examples/supabase-auth/</code> - Example configuration</li>
|
|
409
|
-
</ol>
|
|
410
|
-
<h3>Generated Files (at build time)</h3>
|
|
411
|
-
<ol>
|
|
412
|
-
<li>Clean <code>js/auth.js</code> with Supabase-only support </li>
|
|
413
|
-
<li>Secure <code>login.html</code> with Supabase integration</li>
|
|
414
|
-
<li>Included Supabase SDK files</li>
|
|
415
|
-
</ol>
|
|
416
|
-
<h3>Removed Files/Code</h3>
|
|
417
|
-
<ol>
|
|
418
|
-
<li>All basic auth logic from existing auth.js</li>
|
|
419
|
-
<li>Hardcoded credentials from login page generation</li>
|
|
420
|
-
<li>Basic auth configuration options</li>
|
|
421
|
-
<li>Insecure client-side credential checking</li>
|
|
422
|
-
<li>CLI <code>--no-auth</code> flag (replaced with <code>authentication: false</code> in config)</li>
|
|
423
|
-
<li>Basic auth preset configurations</li>
|
|
424
|
-
</ol>
|
|
425
|
-
<h2>Testing Plan</h2>
|
|
426
|
-
<h3>Unit Tests</h3>
|
|
427
|
-
<ul>
|
|
428
|
-
<li>Configuration validation</li>
|
|
429
|
-
<li>Auth script generation</li>
|
|
430
|
-
<li>Build process with Supabase</li>
|
|
431
|
-
</ul>
|
|
432
|
-
<h3>Integration Tests</h3>
|
|
433
|
-
<ul>
|
|
434
|
-
<li>Full build with Supabase auth</li>
|
|
435
|
-
<li>Login/logout flow</li>
|
|
436
|
-
<li>Access control verification</li>
|
|
437
|
-
</ul>
|
|
438
|
-
<h3>Manual Testing</h3>
|
|
439
|
-
<ul>
|
|
440
|
-
<li>Deploy test site with Supabase auth</li>
|
|
441
|
-
<li>Test user registration/login</li>
|
|
442
|
-
<li>Verify access control</li>
|
|
443
|
-
<li>Test session persistence</li>
|
|
444
|
-
</ul>
|
|
445
|
-
<h2>Rollout Strategy</h2>
|
|
446
|
-
<h3>Version 2.0.0 (Breaking Change)</h3>
|
|
447
|
-
<ul>
|
|
448
|
-
<li><strong>BREAKING</strong>: Remove all basic auth functionality</li>
|
|
449
|
-
<li>Core Supabase authentication only</li>
|
|
450
|
-
<li>Clean, secure implementation</li>
|
|
451
|
-
<li>Migration guide for existing users</li>
|
|
452
|
-
</ul>
|
|
453
|
-
<h3>Version 2.0.1 (Stable)</h3>
|
|
454
|
-
<ul>
|
|
455
|
-
<li>Bug fixes from 2.0.0 release</li>
|
|
456
|
-
<li>Enhanced CLI tools</li>
|
|
457
|
-
<li>User management utilities</li>
|
|
458
|
-
</ul>
|
|
459
|
-
<h3>Version 2.1.0 (Enhanced)</h3>
|
|
460
|
-
<ul>
|
|
461
|
-
<li>Advanced features (roles, audit logs)</li>
|
|
462
|
-
<li>Admin dashboard</li>
|
|
463
|
-
<li>SSO support</li>
|
|
464
|
-
</ul>
|
|
465
|
-
<h2>Success Criteria</h2>
|
|
466
|
-
<ol>
|
|
467
|
-
<li><strong>Working Authentication</strong>: Users can log in via Supabase</li>
|
|
468
|
-
<li><strong>Access Control</strong>: Only authorized users see documentation </li>
|
|
469
|
-
<li><strong>Security</strong>: No more client-side credentials vulnerability</li>
|
|
470
|
-
<li><strong>Simple Setup</strong>: < 10 minutes to configure</li>
|
|
471
|
-
<li><strong>Clean Architecture</strong>: Single auth method, no legacy code</li>
|
|
472
|
-
</ol>
|
|
473
|
-
<h2>Risk Mitigation</h2>
|
|
474
|
-
<ol>
|
|
475
|
-
<li><strong>Complexity</strong>: Keep initial implementation minimal</li>
|
|
476
|
-
<li><strong>Breaking Changes</strong>: Clear migration path and documentation</li>
|
|
477
|
-
<li><strong>Performance</strong>: Cache auth checks appropriately</li>
|
|
478
|
-
<li><strong>Security</strong>: Follow Supabase best practices</li>
|
|
479
|
-
<li><strong>Support</strong>: Provide clear documentation and migration guide</li>
|
|
480
|
-
</ol>
|
|
481
|
-
<h2><i class="ph ph-check-circle" aria-label="checked"></i> Implementation Status: COMPLETE</h2>
|
|
482
|
-
<p>All planned phases have been successfully implemented:</p>
|
|
483
|
-
<h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 1: Core Infrastructure - COMPLETE</h3>
|
|
484
|
-
<ul>
|
|
485
|
-
<li><input checked="" disabled="" type="checkbox"> Updated configuration system to remove basic auth</li>
|
|
486
|
-
<li><input checked="" disabled="" type="checkbox"> Added Supabase SDK dependency</li>
|
|
487
|
-
<li><input checked="" disabled="" type="checkbox"> Created Supabase auth module (<code>lib/supabase-auth.js</code>)</li>
|
|
488
|
-
<li><input checked="" disabled="" type="checkbox"> Updated core-builder.js integration</li>
|
|
489
|
-
</ul>
|
|
490
|
-
<h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 2: Client-Side Implementation - COMPLETE</h3>
|
|
491
|
-
<ul>
|
|
492
|
-
<li><input checked="" disabled="" type="checkbox"> Generated Supabase auth script replaces basic auth</li>
|
|
493
|
-
<li><input checked="" disabled="" type="checkbox"> Secure login page with Supabase integration</li>
|
|
494
|
-
<li><input checked="" disabled="" type="checkbox"> Logout functionality with proper session cleanup</li>
|
|
495
|
-
</ul>
|
|
496
|
-
<h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 3: Build Process Updates - COMPLETE</h3>
|
|
497
|
-
<ul>
|
|
498
|
-
<li><input checked="" disabled="" type="checkbox"> Supabase SDK integration in build output</li>
|
|
499
|
-
<li><input checked="" disabled="" type="checkbox"> Environment variable support</li>
|
|
500
|
-
<li><input checked="" disabled="" type="checkbox"> Build validation and error handling</li>
|
|
501
|
-
</ul>
|
|
502
|
-
<h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 4: User Management Tools - COMPLETE</h3>
|
|
503
|
-
<ul>
|
|
504
|
-
<li><input checked="" disabled="" type="checkbox"> CLI commands: <code>auth:init</code>, <code>auth:add-site</code>, <code>auth:grant</code>, <code>auth:revoke</code>, <code>auth:list-users</code></li>
|
|
505
|
-
<li><input checked="" disabled="" type="checkbox"> Updated settings command to show Supabase config</li>
|
|
506
|
-
<li><input checked="" disabled="" type="checkbox"> Removed insecure <code>--no-auth</code> flag</li>
|
|
507
|
-
</ul>
|
|
508
|
-
<h3><i class="ph ph-check-circle" aria-label="checked"></i> Phase 5: Documentation and Migration - COMPLETE</h3>
|
|
509
|
-
<ul>
|
|
510
|
-
<li><input checked="" disabled="" type="checkbox"> Comprehensive Supabase setup guide created</li>
|
|
511
|
-
<li><input checked="" disabled="" type="checkbox"> Updated main README with new auth information</li>
|
|
512
|
-
<li><input checked="" disabled="" type="checkbox"> Deprecated old authentication guide with security warnings</li>
|
|
513
|
-
<li><input checked="" disabled="" type="checkbox"> Migration instructions for existing users</li>
|
|
514
|
-
</ul>
|
|
515
|
-
<h2>Next Steps for Deployment</h2>
|
|
516
|
-
<h2>Questions to Address</h2>
|
|
517
|
-
<ol>
|
|
518
|
-
<li>Should we support multiple auth providers initially or just email/password?</li>
|
|
519
|
-
<li>Do we need audit logging from day one?</li>
|
|
520
|
-
<li>Should the admin tools be part of the main package or separate?</li>
|
|
521
|
-
<li>What's the target timeline for the beta release?</li>
|
|
522
|
-
</ol>
|
|
523
|
-
<hr>
|
|
524
|
-
<p>This plan provides a clear path to implementing Supabase authentication while maintaining the simplicity that makes @knowcode/doc-builder attractive to users.</p>
|
|
525
|
-
|
|
526
|
-
</div>
|
|
527
|
-
</main>
|
|
528
|
-
</div>
|
|
529
|
-
|
|
530
|
-
<!-- Scripts -->
|
|
531
|
-
<script>
|
|
532
|
-
// Pass configuration to frontend
|
|
533
|
-
window.docBuilderConfig = {
|
|
534
|
-
features: {
|
|
535
|
-
showPdfDownload: true,
|
|
536
|
-
menuDefaultOpen: false
|
|
537
|
-
}
|
|
538
|
-
};
|
|
539
|
-
</script>
|
|
540
|
-
<script src="/js/main.js"></script>
|
|
541
|
-
|
|
542
|
-
</body>
|
|
543
|
-
</html>
|