intermitent failure Clerk: `const identity = await ctx.auth.getUserIdentity();`
In development I have two apps that share the same convex dev in the same monorepo. I run them one a a time in localhost:3000, so when i use one app i don't run the other one.
This is the function that is throwing when
getUserIdentity. It works fine on the first call, but fails after that. Dependency:
"convex": "^1.11.0",The auth is managed with Clerk. I set a JWT template for each app, with the same applicationID: "convex"
The other app works fine. it was the first one that i set up. The failure happens on the second app that I added.
The apps are in different url domains.
I wonder if it is a dirty state in the auth system.
Any idea how can I debug this?
