danielo515
danielo515
CCConvex Community
Created by erquhart on 2/20/2024 in #support-community
Cookie based auth with Convex
Awesome thanks
14 replies
CCConvex Community
Created by erquhart on 2/20/2024 in #support-community
Cookie based auth with Convex
That sounds exactly like the flow that I have in mind thanks. Does convex have any already implemented method for the session id generation/validation or should I implement it myself?
14 replies
CCConvex Community
Created by erquhart on 2/20/2024 in #support-community
Cookie based auth with Convex
Right now I don't 😅 The plan was to get a token from my backend, then from the frontend subscribe to database updates in read only mode. Adding data to the database will go throug the current backend as proxy
14 replies
CCConvex Community
Created by erquhart on 2/20/2024 in #support-community
Cookie based auth with Convex
Aren't "my functions" already on convex side ?
14 replies
CCConvex Community
Created by erquhart on 2/20/2024 in #support-community
Cookie based auth with Convex
What do you mean, to my functions? When the frontend calls the Astro backend ? Does convex client automatically fetches such tokens ? Or I will have to implement such lotic on my FE?
14 replies
CCConvex Community
Created by erquhart on 2/20/2024 in #support-community
Cookie based auth with Convex
So I will also need to issue their own cookie validating a token with the convex backend or something like that, same situation but reversed . Right?
14 replies
CCConvex Community
Created by erquhart on 2/20/2024 in #support-community
Cookie based auth with Convex
If I use convex as my authentication authority, my astro backend will have no idea of the session when it is time to render the dynamic pages
14 replies
CCConvex Community
Created by erquhart on 2/20/2024 in #support-community
Cookie based auth with Convex
I saw that example, thank you. I decided to use my astro backend for the auth because they provide a very simple postgres implementation that Lucia has very simple integration
14 replies