CheQita
CCConvex Community
•Created by CheQita on 8/10/2024 in #support-community
High usage when reactively querying large objects
My project just got disabled for going over the limit now. Any possibility to help me with this?
20 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
Thanks will test it eventually
30 replies
CCConvex Community
•Created by CheQita on 8/10/2024 in #support-community
High usage when reactively querying large objects
Oh okay thanks!
20 replies
CCConvex Community
•Created by CheQita on 8/10/2024 in #support-community
High usage when reactively querying large objects
Is there a way for me to avoid getting ratelimited with my blown up usage without upgrading?
20 replies
CCConvex Community
•Created by CheQita on 8/10/2024 in #support-community
High usage when reactively querying large objects
Thanks thats a good idea
20 replies
CCConvex Community
•Created by CheQita on 8/10/2024 in #support-community
High usage when reactively querying large objects
Another solution would be to only fetch some of the data of the hubs, only the data that the component needs. Right now I guess I select all data and not sure how to only select some fields.
20 replies
CCConvex Community
•Created by CheQita on 8/10/2024 in #support-community
High usage when reactively querying large objects
Now like I said I have drasticly lowered the usage by removing the reactivity in that component. Along with some other modifications.
20 replies
CCConvex Community
•Created by CheQita on 8/10/2024 in #support-community
High usage when reactively querying large objects
Im using convex ents. I have reviewed my usage and I know the reason of it. I have a a Ent called "Hub" that contains alooot of data. 20k chars of stringified json, embeddings data and more. I have a a component that queries a list of these Ents selecting all data and it was reactive. Therefore everytime I update data in any of these hubs, this component refetches all this data.
20 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
I have another question I hope you can help me with, Im currently using Hono in http.ts. Is it possible to combine that with convex auth?
30 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
Not sure what more granular control would be, so problably fine with sharing the same auth session. I guess thats what I have done previously
30 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
Alright, yeah with NextAuth I authorized in middleware, where I basically redirected them to home if they where not authorized and to auth if they where not authenticated. So optimally would be if I can check a userId in middleware redirect from there.
30 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
Yea I mean Its way easier if I can authorize either in middleware or in server side layouts.
So if I understood you correctly, this combination of sharing auth cross subdomains and server side auth is not possible currently?
30 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
And I know this is possible with cookies but not sure about local storage
30 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
I guess with shared session in my case is that you can authenticate on auth to set the sessiontoken on all subdomains so you dont have to relog whenever you go to another subdomain
30 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
30 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
30 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
I sometimes succesfully get the authJwt in localstorage
30 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
can the <ConvexAuthNextjsServerProvider> or convexAuthNextjsMiddleware be a problem?
30 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
This happens when I try to login with oauth
30 replies
CCConvex Community
•Created by CheQita on 8/8/2024 in #general
Convex Auth: Shared session across subdomains
I guess It could be problematic that I have mapped localhost to example.local since the convex auth implementation doesnt use cookies?
That was my workaround for cookies to be working in local dev with next auth.
30 replies