[TEST] OTP Download Verification – Whitepaper
Internal QA fixture for the email verification + gated download flow. Do not link from production navigation.
メール認証 · 10分間有効コード
バージョン履歴
以前のバージョンはありません。
What this page tests
This page exists only to validate the email-verification + gated download flow end-to-end on a real whitepaper detail route. The download target is a tiny ~800 byte placeholder PDF that should render in any browser/PDF viewer.
How to run the test
- 1Open this page on the deployed site (or in
firebase emulators:start). - 2Click "Get the Document" in the compact bar below the header (or in the end-of-article card).
- 3Enter your name, a real email you can read, and check the consent box.
- 4Click "Send Verification Code". Within ~10 seconds you should receive an email from
support@leanabl.comwith a 6-digit code. - 5Enter the code in the modal and click "Verify & Unlock Download".
- 6The "Verified — You're all set" panel appears. Click "Download File" — the test PDF should download in a new tab.
Checks to perform
- A document is created in Firestore
download_verifications/{id}at request time (codeHash, expiresAt). - A document is created in Firestore
leads/RES-...at verification time (type: "resource_download",verified: true). - After verification, hitting the modal again from the same email + resource returns the same URL without re-sending an email.
- Entering a wrong code 5 times locks the verification; the next attempt requires a new code request.
- Requesting more than 5 codes for the same email in one hour returns
rate_limited.
関連リソース
EU MDR and IVDR Technical Files: A Complete Guide
Annex II/III for MDR, Annex I/II for IVDR. GSPR checklists, Notified Body engagement, and the Korean cross-reference for manufacturers entering both regions.
MES vs. ERP for Regulated MedTech Manufacturing
ERP runs the business; MES runs the production floor. The conflation costs medical device manufacturers in audit findings and traceability gaps. A side-by-side comparison.
UDI Implementation Guide for Korea and Global Markets
Korea's UDI system runs on Korean GS1 codes and ties to the MFDS database. A practical implementation guide aligned with FDA UDI and EU MDR EUDAMED requirements.