Marek Urbanowicz
Explore posts from serversKKinde
•Created by Marek Urbanowicz on 4/22/2025 in #💻┃support
Kinde + next-intl - redirect not working on Cloudflare
Hey,
I ran again into weird issue on Cloudflare 😭
I am using Kinde + next-intl.
Locally - all working as expected.
On Vercel - all worked.
On Cloudflare:
i18n itself - works ok.
Kinde itself - works ok (login is working etc)
For protected paths, when Kinde is ran and i18n middleware is returned from onSuccess, I can see in logs that middleware returned the response like 307 with locale attached at the end,
but for some reason, even though I see in Kinde logs it is returning that response from i18n ('onSuccess returned response..."), on Cloudflare it ens up without redirect happening.
I am debugging it for like 4 hours and cannot find the reason.
2 replies
CDCloudflare Developers
•Created by Marek Urbanowicz on 4/18/2025 in #workers-help
Failed to deploy - authentication issue during secrets pull
Hey
I didn't have scope on the token for secrets store read. However, I added it and my CI job failed anyway. Does permissions scope have some lag on it which I have to wait?
2 replies
KKinde
•Created by Marek Urbanowicz on 4/17/2025 in #💻┃support
Attempting to commit invalid token - OpenNext on Cloudflare
Hey!
The issue around login vs prefetch was fixed on latest version of opennext, but now, on auth_callback I get into "attmepting to commit invalid token to memory" issue. Not sure what can be the reason?
Locally it is working well, but configs are aligned.
2 replies