Encode sign-in mail as base64 so webmail cannot mangle the verify token. #71

Merged
an.di merged 1 commits from adilallo/fix/CR-172-magic-link-base64 into main 2026-09-01 23:23:45 +00:00
Owner

Summary

  • Send magic-link mail as base64 so the raw MIME never contains token=3D.
  • Put the full verify URL in the text body and as a visible HTML link.
  • Keep links valid for 60 minutes. Show “not valid” for a missing token and “expired” only when the row is actually past expiry.
  • Cloudron manifest 0.1.13 (already on staging).

Test plan

  • Request a new magic link on staging and sign in from the new email (not an old one).
  • Prefer a non-Gmail inbox (May First / university webmail).
  • If it fails, note whether the banner says expired or not valid.
## Summary - Send magic-link mail as base64 so the raw MIME never contains `token=3D`. - Put the full verify URL in the text body and as a visible HTML link. - Keep links valid for 60 minutes. Show “not valid” for a missing token and “expired” only when the row is actually past expiry. - Cloudron manifest `0.1.13` (already on staging). ## Test plan - [ ] Request a new magic link on staging and sign in from the new email (not an old one). - [ ] Prefer a non-Gmail inbox (May First / university webmail). - [ ] If it fails, note whether the banner says expired or not valid.
an.di self-assigned this 2026-09-01 23:23:37 +00:00
an.di added 1 commit 2026-09-01 23:23:38 +00:00
Quoted-printable still rewrote token= as token=3D in the raw MIME, which some clients never decode. Distinguish a missing token from a real expiry, and keep links valid for 60 minutes.

Co-authored-by: Cursor <cursoragent@cursor.com>
an.di merged commit df7051f33a into main 2026-09-01 23:23:45 +00:00
an.di deleted branch adilallo/fix/CR-172-magic-link-base64 2026-09-01 23:23:45 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: CommunityRule/community-rule#71