Skip to content

feat: add email OTP authentication#14

Merged
starc007 merged 4 commits into
mainfrom
feat/cloud-publishing
Jul 17, 2026
Merged

feat: add email OTP authentication#14
starc007 merged 4 commits into
mainfrom
feat/cloud-publishing

Conversation

@starc007

Copy link
Copy Markdown
Owner

What changed

  • add email OTP request and verification endpoints to Markd Cloud
  • send codes from no-reply@usemarkd.app
  • store session tokens securely in the operating system credential manager
  • add Cloud account sign-in and sign-out flows to Settings
  • connect publishing prompts directly to Cloud Settings
  • configure the production D1, R2, Email Sending, and OTP secret bindings

Why

Publishing requires an authenticated account before a note can be shared. Email OTP keeps the flow simple while preserving Markd's local-first experience for users who do not use Cloud features.

Validation

  • bun run build
  • cargo test --locked — 47 passed
  • Cloud API typecheck and tests — 9 passed
  • wrangler deploy --dry-run
  • Next.js production build
  • OpenNext Cloudflare build

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 17, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
markd-api 48fda46 Jul 17 2026, 08:25 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 17, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
markd-site 48fda46 Commit Preview URL

Branch Preview URL
Jul 17 2026, 08:26 AM

@starc007
starc007 marked this pull request as ready for review July 17, 2026 08:31
@starc007
starc007 merged commit 7dd2e63 into main Jul 17, 2026
3 checks passed
@starc007
starc007 deleted the feat/cloud-publishing branch July 17, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant