feat(security): replace Firebase with Cloudflare Turnstile bot verification
This commit is contained in:
+6
-17
@@ -31,21 +31,10 @@ CATALOG_ADMIN_SECRET=REPLACE_WITH_32_CHAR_HEX
|
||||
ALLOWED_ORIGIN=http://localhost:3000
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Firebase Client SDK Configuration (Required for Live Client Auth)
|
||||
# Obtain from: Firebase Console > Project Settings > General > Your apps (Web)
|
||||
# Cloudflare Turnstile Bot & Abuse Protection
|
||||
# Obtain from: Cloudflare Dashboard > Turnstile > Add Widget
|
||||
# Test Site Key (Always Passes): 1x00000000000000000000AA
|
||||
# Test Secret Key (Always Passes): 1x0000000000000000000000000000000AA
|
||||
# ---------------------------------------------------------------------------
|
||||
NEXT_PUBLIC_FIREBASE_API_KEY=your_api_key_here
|
||||
NEXT_PUBLIC_FIREBASE_AUTH_DOMAIN=your_project_id.firebaseapp.com
|
||||
NEXT_PUBLIC_FIREBASE_PROJECT_ID=your_project_id
|
||||
NEXT_PUBLIC_FIREBASE_STORAGE_BUCKET=your_project_id.appspot.com
|
||||
NEXT_PUBLIC_FIREBASE_MESSAGING_SENDER_ID=your_messaging_sender_id
|
||||
NEXT_PUBLIC_FIREBASE_APP_ID=1:your_app_id:web:your_web_id
|
||||
NEXT_PUBLIC_FIREBASE_MEASUREMENT_ID=G-XXXXXXXXXX
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Firebase Admin SDK Configuration (Required for Server Session Minting)
|
||||
# Obtain from: Firebase Console > Project Settings > Service accounts > Generate new private key
|
||||
# ---------------------------------------------------------------------------
|
||||
FIREBASE_PROJECT_ID=your_project_id
|
||||
FIREBASE_CLIENT_EMAIL=firebase-adminsdk-xxxxx@your_project_id.iam.gserviceaccount.com
|
||||
FIREBASE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC....\n-----END PRIVATE KEY-----\n"
|
||||
NEXT_PUBLIC_TURNSTILE_SITE_KEY=your_cloudflare_turnstile_site_key
|
||||
CLOUDFLARE_TURNSTILE_SECRET_KEY=your_cloudflare_turnstile_secret_key
|
||||
|
||||
Reference in New Issue
Block a user