Convex auth seems to sign me out every 24-28 hours, why?
adding rate limits to existing auth functions (store, viewer ..etc)
auth.ts
? Because it's really important especially for anonymous sign up!
Thank you for all the advice folks, I really appreciate it ❤️...Is this is legit way to upload files? Haven't seen this in any example
Error I can't get
Convex dashboard suggestion (DX)
Is there a way to get around the Id<"tablename">
how to handle auth errors
Hi, I am facing some error in while inserting data into the table created on convex database.
Use pdfkit in actions
convexAuth , nextJS google auth getting 404:not found error while click on the signIn
Typescript error for @tanstack/react-query useMutation
What's the name of the cookie used by Convex Auth?
https://labs.convex.dev/auth-example
, I noticed that login state works even when there are no cookies, and later found out that Convex auth uses localStorage by default unless when using @convex-dev/auth/nextjs
. Anyways, I have something like the ff in localStorage:
```js
{
theme: "system",...Convex Auth: a delete user method in useAuthActions (or somewhere)
Where does `wrapDatabaseReader` come from?
wrapDatabaseReader
and wrapDatabaseWriter
but I'm not seeing where those functions are available from?How to do array filter with multiple values?
Why not `ctx.db.query("table").withIndex(vectorIndex)`?
ctx.db.query("table").withIndex(vectorIndex)
but instead ctx.vectorSearch()
? Is it because we don't want to expose ctx.db
in actions?
In fact, why is there no ctx.db.query()
in actions? Is there a reason for not allowing querying dB in actions? Seems to me like it should be fine since unlike mutations, determinism (or non-determinism) of the calling function (an action in this case) doesn't affect anything.
Concerning the first question, we can just use Typescript to narrow down the indexes in the withIndex()
of queries and mutations to non-vector indexes, while allowing all indexes in actions....Bad example in docs
How OIDC with Convex Auth works with HTTP actions endpoints
CONVEX_SITE_URL
system environment variable. From what I understand, specific endpoints defined by the OpenID spec are expected on such domain/URL (to conform to the spec). Examples of such endpoints are the /token
and the /authorize
. However, this same CONVEX_SITE_URL
is used for HTTP actions, such that if I have an HTTP action at convex/token.ts
, then the action is accessible by ${CONVEX_SITE_URL}/token
(assuming I have it configured to work that way).
Does this not conflict with the /token to be used for auth by convex auth as required by the OpenID spec?...Running Langfuse for AI tracing inside convex action
use node
directive), so ideally I'd use the nextjs guide but I'm not sure how to get that to work with Convex.
the founder of Langfuse said:
We have tested the vercel ai sdk integration on vercel (which default to edge functions when using the app router in nextjs afaik) which should be a similar to the cloudflare runtime...
Passing `ctx` to AI agent tools