How to check which user is signed in
Convex-Auth/NextJS/NPM (Not Vite)
https://github.com/get-convex/convex-auth-example
as a baseline I have created a repo but even though the packages are installed I am getting errors that they cannot be found.
- Cannot find module '@convex-dev/auth/server' or its corresponding type declarations.
- Cannot find module '@convex-dev/auth/providers/Anonymous' or its corresponding type declarations.ts(2307)
- Cannot find module '@convex-dev/auth/providers/Password' or its corresponding type declarations.ts(2307)...How can I re-use table validators?
Query Convex data from Next.js route.ts endpoint
route.ts
endpoint?
app/api/endpoint/route.ts
```ts...Dashboard - export documents that match query
Access the action error message when fail
Resources for Implementing User Roles
using _storageId vs storing storage urls directly
OrganizationSwitcher from clerk not propogating org_id to convex getUserIdentity call
Error when using withIndex (Index not found)
Auth is working in development but getting an error after deploying on Vercel
Uncaught Error: Missing environment variable JWT_PRIVATE_KEY
Should I be setting up this env variable before it can work on production? Following the convex-auth docs I assumed it would be alright out of the box. Appreciate any advice or help, thanks in advance!
I did try generating a jwt private key and then repeatedly got this error: Uncaught Error: Missing environment variable JWKS
. Wasn't really sure what I was doing at this point....Whats the best practice/approach for saving and fetching convex images?
thumbnail: v.id("_stareage")
or should I have a separate table i.e productThumbnails
?
- If I have multiple images (previous question also applies) i.e images: v.array(v.id("_stareage"))
when I delete I need to make sure I delete in both places (storage and in database) right?
- Should I prefetch images in convex server side when I call i.e getProducts? i.e...Cannot find module dataModel
Svelte: server side: call queries?
Authentication in paginated query
Security policies blocking internal users?
Why I can't get current logged in user information
External API fetch advise
Getting orgId from userIdentity does not work
Why I can't get current user's information if I've already logged in