diff --git a/install/papermark-install.sh b/install/papermark-install.sh index 2c683d4b..70c4e011 100644 --- a/install/papermark-install.sh +++ b/install/papermark-install.sh @@ -38,6 +38,7 @@ SLACK_CLIENT_ID=placeholder SLACK_CLIENT_SECRET=placeholder NEXT_PRIVATE_DOCUMENT_PASSWORD_KEY=$(openssl rand -hex 32) NEXT_PRIVATE_VERIFICATION_SECRET=$(openssl rand -hex 32) +RESEND_API_KEY= NODE_ENV=production EOF $STD npm install diff --git a/json/papermark.json b/json/papermark.json index e75d2935..d215aebe 100644 --- a/json/papermark.json +++ b/json/papermark.json @@ -33,8 +33,12 @@ }, "notes": [ { - "text": "Requires external blob storage (S3 or compatible) and email service (Resend) configured in .env for full functionality.", + "text": "Papermark uses magic link (email) login only — no password auth. A Resend API key (RESEND_API_KEY in .env) is required to receive login emails. Without it, retrieve the login token manually: psql -U papermark -h 127.0.0.1 papermark -c \"SELECT identifier, token FROM verification_tokens ORDER BY expires DESC LIMIT 1;\" and open http://IP:3000/api/auth/callback/email?token=TOKEN&email=EMAIL&callbackUrl=http%3A%2F%2FIP%3A3000%2Fdashboard", "type": "warning" + }, + { + "text": "Requires external blob storage (S3 or compatible) and email service (Resend) configured in .env for full functionality.", + "type": "info" } ] } \ No newline at end of file