warmbowskiW
Convex Community8mo ago
3 replies
warmbowski

When I leave my app open for long periods, I soon get "Could not verify token claim" using Clerk.

I haven't deployed a prod version yet, so I only see this in developement, and I am using Clerk for auth.

I can see what is going on here, but I cannot figure out why. The aud claim in the token disappears from the tokens that Clerk gives me. This takes so long time to happen, so I am having a tough time debugging (1hour+). When I decode an earlier jwt, the aud=convex claim is there, but when I see this error, the latest jwts are missing that aud claim and I see the "Could not verify token claim" error. Does anyone else see this? It basically happens when I leave my developement app tab open in my browser for > 1hour (just a guess at this point) without using it.
Was this page helpful?