Repository navigation
translate.moonfin.io: sign-up fails with "CSRF verification failed – Origin checking failed - null does not match any trusted origins" #2223
leonardopieralli
started this conversation in
General
Replies: 3 comments 1 reply
|
Signing up with the github login or another method? |
0 replies
|
@RadicalMuffinMan All of them: GitHub login, Google login and email/password. Each one ends on the same CSRF page ("Origin checking failed - null does not match any trusted origins"), right after the Cloudflare check. Tried several times today, same result. If it helps, I can try again at a time that suits you while you watch the server logs. |
1 reply
|
Thanks for checking the logs, that was it: my browser was dropping the referrer. With an exception for translate.moonfin.io sign-up and upload both work. I've uploaded the Italian strings (2084, only into untranslated ones), so Italian is now at 5102 of 5164. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'd like to contribute an Italian translation on translate.moonfin.io, but I can't create an account there.
What happens
Tried several times, with the same result each time. The Cloudflare check itself passes (see #1707 for why it is there); the error comes after it.
Likely cause
The browser sends
Origin: nullon the form post, probably because of the redirect through the Cloudflare challenge (or aReferrer-Policy/ sandboxed context in front of Weblate), and Django rejects it. It may be worth checkingCSRF_TRUSTED_ORIGINS(WEBLATE_CSRF_TRUSTED_ORIGINSin the Docker image) and the proxy / Cloudflare settings in front of the sign-up pages.Italian translation
In the meantime I have an Italian translation ready: an
app_it.arbwith 2084 strings thatapp_it.arbon Weblate doesn't have yet or that I reviewed, using a consistent glossary. It passesflutter gen-l10nwith no errors. I'm happy to upload it on Weblate once I can register, or to send the file in whatever way suits you best (attached here, a PR, or an upload by a Weblate admin), so it doesn't bypass your Weblate workflow.Prepared with the help of an AI assistant (Claude Code).
🤖 Generated with Claude Code
All reactions