Oren
Explore posts from serversCCConvex Community
•Created by Oren on 9/11/2024 in #support-community
Uncaught Error: Invalid state
1 replies
CCConvex Community
•Created by Oren on 9/1/2024 in #support-community
convex auth causes browser "leave site?" prompt on every redirect e.g. stripe or auth
8 replies
CCConvex Community
•Created by Oren on 8/23/2024 in #support-community
how to handle auth errors
Hey I'm trying to show an error to user when auth fails for example when their magic link is expired
with auth.js / nextauth I could add error page specified with url param of the error and display it there but how can we handle it with convex auth?
2 replies
CCConvex Community
•Created by Oren on 8/22/2024 in #support-community
how to use authRateLimits?
I see auth schema has authRateLimits defined and its in docs but not much info available on how to ratelimit the auth e.g. magic emails
3 replies
CCConvex Community
•Created by Oren on 8/17/2024 in #support-community
How to use rate limit with convex auth
I have my auth setup with http-email and I would like to rate limit it but it seems like not possible right now. I do use rate limiting for other mutations successfully
second question is how to use rate-limiting in actions?
4 replies
CCConvex Community
•Created by Oren on 8/16/2024 in #support-community
action is not available to runAction / app / typescript
15 replies
CCConvex Community
•Created by Oren on 8/16/2024 in #support-community
http action as webhook is not working
11 replies
CCConvex Community
•Created by Oren on 8/15/2024 in #support-community
How to get user details in server component
How can I get user details with convex auth on nextjs server component?
I have a query that works when used in client side with useQuery but it doesn't work with fetchQuery
15 replies
CCConvex Community
•Created by Oren on 8/15/2024 in #support-community
auth docs are misleading
https://labs.convex.dev/auth/setup says run npm create convex@latest -> next.js -> convex auth but only options are clerk and none
3 replies
CCConvex Community
•Created by Oren on 8/4/2024 in #support-community
using zod schema for validation
I want to use the zod schema directly like above
emailFormSchema
but its giving me error;
Type 'ZodObject<{ email: ZodString; }, "strip", ZodTypeAny, { email: string; }, { email: string; }>' is not assignable to type 'void | ZodValidator | undefined'.
16 replies
CDCloudflare Developers
•Created by Oren on 3/2/2024 in #pages-help
Is it possible to use cloudflare for SaaS with cloudflare pages site?
Is it possible to use cloudflare for SaaS with cloudflare pages site?
15 replies
CDCloudflare Developers
•Created by Oren on 2/10/2024 in #pages-help
Sveltekit actions on pages with smart placement
Hello,
I host sveltekit on cf pages pro and have smart placement enabled but cf-placement header is always local-X so placement is not working. Wondering if sveltekit actions are not meant to work with smart placement or if there are any other work arounds? Because my backend is in EU I would like my actions to run on EU for optimal latency when possible
thanks in advance!
1 replies
Hey 👋
I'm looking to use tRPC with app-router specifically with this setup;
- My pages are RSC, and I want to fetch the data there using trpc route / .query or .fetch (page.tsx), cached
- My forms are "client side" I want to mutate using react-query on client side and manually invalidate RSC fetchers above ^ upon mutations
Does anyone have an example repo I can investigate to achieve this setup?
5 replies