Northerncoder
Explore posts from serversCCConvex Community
•Created by Northerncoder on 6/30/2024 in #support-community
cookies with convex
I am trying to implement Lucia v3 with Convex by following the guide on https://stack.convex.dev/convex-with-lucia
The end of the guide mentions localstorage is used to store the session. If I changed it to a secure httponly cookie, does this create a problem for convex? Is it that convex websockets don't see the session cookie? So if thats the case we are left with a less secure localstorage option?
And finally, I wonder how is clerk auth implemented, since clerk stores JWTs in a secure cookie.
Thanks for any help you can provide understanding auth flow.
Thanks for any help you can provide understanding auth flow.
28 replies
CCConvex Community
•Created by Northerncoder on 6/30/2024 in #support-community
useMutation vs server action & fetch mutation
I am building a signup page for my app (using lucia auth) and I am wondering what is the right pattern for submitting forms.
My concern is if I need to rate limit the signup against bots, I wouldnt be able to do this using useMutation.
Does it make sense to instead make a server action and in there use fetchMutation to submit a user signup?
2 replies
KKinde
•Created by Northerncoder on 6/25/2024 in #💻┃support
satellite domains
I am building a b2b2c saas. I am realizing that at some point I will want offer my customers ability to use their own custom root domains with my app. Is this something Kinde will offer in the future? On the clerk product they are calling this satellite domains, rather than just 'custom domains'. Is this something on the road map for Kinde. Or perhaps is there another way to accomplish this?
Thanks
11 replies