allen
CCConvex Community
•Created by Tiger 🐅 on 12/20/2024 in #general
tiger9644's Thread
@ian just published this one today:
https://stack.convex.dev/add-a-collaborative-document-editor-to-your-app
31 replies
CCConvex Community
•Created by Tiger 🐅 on 12/20/2024 in #general
tiger9644's Thread
An older post, but perhaps still relevant.
31 replies
CCConvex Community
•Created by allen on 11/12/2024 in #show-and-tell
Tortilla - Your moments, all wrapped up
Hey Matt. I then went through my Postmark free tier 😅.
Everything should be good now.
Lesson: don’t soft launch without upgrading everything.
11 replies
CCConvex Community
•Created by allen on 11/12/2024 in #show-and-tell
Tortilla - Your moments, all wrapped up
yeah i blew through my convex free tier. upgrading now
11 replies
CCConvex Community
•Created by allen on 11/12/2024 in #show-and-tell
Tortilla - Your moments, all wrapped up
I need to get @jamwt to start writing my marketing copy!
11 replies
CCConvex Community
•Created by Alm on 10/11/2024 in #support-community
Convex’s use of server vs client caching
Here is some info on local caching using convex-helpers.
https://www.youtube.com/watch?v=ZgxDlSUGpfE
8 replies
CCConvex Community
•Created by ampp on 10/11/2024 in #general
Does anyone have a provider suggestion
Not exactly sure on your use case, but would something like this work? https://proxiedmail.com/en/webhook-on-email
4 replies
CCConvex Community
•Created by shea7544 on 9/1/2024 in #support-community
IdTokenExpired on using convexAuthNextjsToken in production
No. I'm logged out as my auth cookies are deleted.
95 replies
CCConvex Community
•Created by shea7544 on 9/1/2024 in #support-community
IdTokenExpired on using convexAuthNextjsToken in production
The behavior I'm observing is the session getting nuked because an invalidate refresh token is used, which causes all cookies to be deleted.
95 replies
CCConvex Community
•Created by shea7544 on 9/1/2024 in #support-community
IdTokenExpired on using convexAuthNextjsToken in production
0.0.71 does have some improvements. 69 was especially problematic for me.
95 replies
CCConvex Community
•Created by shea7544 on 9/1/2024 in #support-community
IdTokenExpired on using convexAuthNextjsToken in production
@lexcodeit I'm still working through this with Convex support outside of this thread. Not experiencing some of your issues though. What version of convex auth are you using?
isAuthenticatedNextjs
is rather dumb, just evaluating if there is an auth token cookie present, so don't extend it too much trust. However, if everything is working properly, that token should be cleared if invalid, but you are likely evaluating it before that logic is executed.95 replies
CCConvex Community
•Created by shea7544 on 9/1/2024 in #support-community
IdTokenExpired on using convexAuthNextjsToken in production

95 replies
CCConvex Community
•Created by shea7544 on 9/1/2024 in #support-community
IdTokenExpired on using convexAuthNextjsToken in production
Not sure that my component layout/structure is the culprit. seeing some similar behavior just naving around the same component layout. It will just suddenly boot me out and (this time) successfully clear cookies.
95 replies
CCConvex Community
•Created by shea7544 on 9/1/2024 in #support-community
IdTokenExpired on using convexAuthNextjsToken in production
I'm also experiencing something thats hard to describe. Essentially in Route A with its own auth guard component in place links to Route B with different instances of the same auth guard, route B throws errors about being unauthorized, even though Route A wont present a link unless they are in a logged in state.
I'm happy to hop on a call and walk through this all if its helpful.
95 replies
CCConvex Community
•Created by shea7544 on 9/1/2024 in #support-community
IdTokenExpired on using convexAuthNextjsToken in production
My best guess is that multiple synchronous queries executing a refresh and all requesting new refresh tokens. This introduces a race condition where a stale, invalidated token can get persisted to cookie storage. This then puts everything into a bad state which there is no recovery (short of manually deleting cookies) as the bad cookie value is never cleared once identified as bad.
However, this is speculative as I havent taken the time to dive into the code around this. Hopefully my uneducated musings based on observed behavior are of some help.
95 replies
CCConvex Community
•Created by shea7544 on 9/1/2024 in #support-community
IdTokenExpired on using convexAuthNextjsToken in production
I don't know how its getting in this state, but once it is, its stuck there as nothing clears the cookie with the back refresh token value. So every request to convex tries to run a refresh routine and fails.
95 replies