fix(papermark): add RESEND_API_KEY placeholder, document magic-link login workaround
This commit is contained in:
@@ -38,6 +38,7 @@ SLACK_CLIENT_ID=placeholder
|
|||||||
SLACK_CLIENT_SECRET=placeholder
|
SLACK_CLIENT_SECRET=placeholder
|
||||||
NEXT_PRIVATE_DOCUMENT_PASSWORD_KEY=$(openssl rand -hex 32)
|
NEXT_PRIVATE_DOCUMENT_PASSWORD_KEY=$(openssl rand -hex 32)
|
||||||
NEXT_PRIVATE_VERIFICATION_SECRET=$(openssl rand -hex 32)
|
NEXT_PRIVATE_VERIFICATION_SECRET=$(openssl rand -hex 32)
|
||||||
|
RESEND_API_KEY=
|
||||||
NODE_ENV=production
|
NODE_ENV=production
|
||||||
EOF
|
EOF
|
||||||
$STD npm install
|
$STD npm install
|
||||||
|
|||||||
@@ -33,8 +33,12 @@
|
|||||||
},
|
},
|
||||||
"notes": [
|
"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"
|
"type": "warning"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "Requires external blob storage (S3 or compatible) and email service (Resend) configured in .env for full functionality.",
|
||||||
|
"type": "info"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user