8000 Send signup confirmation links to the front end by daoudclarke · Pull Request #589 · mwmbl/mwmbl · GitHub
[go: up one dir, main page]

Skip to content

Send signup confirmation links to the front end - #589

Open
daoudclarke wants to merge 4 commits into
mainfrom
claude/great-cori-hdpxcp
Open

daoudclarke wants to merge 4 commits into
mainfrom
claude/great-cori-hdpxcp

Conversation

@daoudclarke
Copy link
Copy Markdown
Contributor

allauth builds the confirmation link from the request's host, so signup emails pointed at api.mwmbl.org and allauth's own HTML view. A custom account adapter (mwmbl/account_adapter.py) now sends them to {FRONTEND_URL}/account/confirm-email?key=…&email=…, which posts to the existing /platform/confirm-email endpoint, matching how email-change links already use FRONTEND_URL.

Depends on mwmbl/front-end#109, which adds that page. Deploy it first.

Testing

  • New test: register, take the link from the sent email, check it points at the front end, and confirm the address with its parameters.
  • make check and make test pass (1745 passed).

Generated by Claude Code

allauth built the link from the request's host, so it pointed at api.mwmbl.org and its
own HTML view. It now goes to FRONTEND_URL/account/confirm-email with the key and
email, which the front end posts to /platform/confirm-email.

No functional changes to the crawler.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DTbu4oUPA9CSjTqUxmZgAv
@codecov
codecov Bot commented Nov 3, 2026
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

They went to mwmbl.org, whose API can't check keys signed with the dev secret.

No functional changes to the crawler.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DTbu4oUPA9CSjTqUxmZgAv
No functional changes to the crawler.
The dev settings, which the tests inherit, now point FRONTEND_URL at the Vite
dev server, so tests from main that hardcoded https://mwmbl.org failed.

No functional changes to the crawler.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DTbu4p7pvKRat7fTHWTNfJ
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.

2 participants

0