pensono
CCConvex Community
•Created by Kenni on 11/11/2024 in #support-community
Creating an API Key for Secure Data Access Between Next.js Server and Convex Backend
Got it, thanks! Not ideal but I think this should work
15 replies
CCConvex Community
•Created by Kenni on 11/11/2024 in #support-community
Creating an API Key for Secure Data Access Between Next.js Server and Convex Backend
Ah sorry, API = my convex actions/queries/mutations
15 replies
CCConvex Community
•Created by Kenni on 11/11/2024 in #support-community
Creating an API Key for Secure Data Access Between Next.js Server and Convex Backend
I'm interested in how the secret is sent to the API. I see there's a way to look at the claims from the result of
ctx.auth.getUserIdentity()
, but this requires the auth provider to have a valid user set up.
In my case I'm using Clerk and I'm trying to see if there's a way to avoid creating a special user within Clerk.15 replies
CCConvex Community
•Created by Kenni on 11/11/2024 in #support-community
Creating an API Key for Secure Data Access Between Next.js Server and Convex Backend
What's the best way to pass the shared secret to the API? There's no way I can find to examine the token from
ctx.auth
. An optional argument for a token on each function would work, but is much more clunky15 replies
CCConvex Community
•Created by Muhtadee Taron on 7/29/2024 in #support-community
Need help regarding bandwidth
Oh, I can see which function is the problem in my project pretty clearly. I'll check back if I need help.
OP's project is different
19 replies
CCConvex Community
•Created by Muhtadee Taron on 7/29/2024 in #support-community
Need help regarding bandwidth
Ah nice, yep that's exactly the sort of thing I was looking for.
19 replies
CCConvex Community
•Created by Muhtadee Taron on 7/29/2024 in #support-community
Need help regarding bandwidth
I can break down the usage by function, but I only see a total rather than an amount used by a single invocation
19 replies
CCConvex Community
•Created by Muhtadee Taron on 7/29/2024 in #support-community
Need help regarding bandwidth
I've run into the same problem- The answer here is probably to add some indexes/etc in the right place.
Is there any way to see the amount of bandwidth used by a particular db call? Perhaps this should live in the logs or in spans somewhere or the custom query UI in the dashboard could show this value
19 replies