nobody
Explore posts from serversCDCloudflare Developers
•Created by nobody on 5/23/2024 in #workers-help
CF as my backend. How to solve auth for mobile apps?
I am building a mobile app and I'd like to use CF as my backend. So I wanna use Workers, D1 and so on. The frontend is a Flutter app.
My problem: How can I solve the auth problem? My initial plan was to use Firebase Auth and then use the Firebase admin sdk to verify a user within a worker. Sadly the Firebase admin sdk is not edge compatible.
How would you solve this problem? I want to use multiple auth flows (Apple, Google, Mail).
Authjs
has a core
package which can be used in CF Workers but it is still experimental..3 replies
CDCloudflare Developers
•Created by nobody on 5/6/2024 in #pages-help
How to use MDX on CF Pages?
I am trying to use CF Pages for my Next.js blog. I use MDX for that. I followed the instructions from Vercel (https://nextjs.org/docs/app/building-your-application/configuring/mdx)
and this is my
next.config.mjs
:
when I use the simple next dev
everything works fine. But the following error shows up If i simulate the CF Pages with the preview command (during compilation):
I tried to add the runtime config to the .mdx
files, but It does not change anything.
this is my mdx-components.tsx
:
I appreciate any kind of feedback on that. I tried to lookup old threads, but I did not found a solution to this2 replies