Convex and WorkOS
Good evening everyone! 
I use Convex with WorkOS as Authentication Provider
Now i started using Autumn as Payment Solution and used the Convex Integration Plan.
But most of the time the identify function seeems to receive an empty state from
const user = await ctx.auth.getUserIdentity();
And then Autumn is failing.
When i wait until it gets published probably from WorkOS to Convex and then when the organization is available i wait 5s then autumn has the information 90% of the time.
Anyone got this combination working successfull yet?
Or should i use a different approach?
Here is the repo if someone wants to take a look:
https://github.com/sandan-dominik/nextjs-convex-workos-intl-theme-template/tree/useautumn-integration
Thank you!
I use Convex with WorkOS as Authentication Provider
Now i started using Autumn as Payment Solution and used the Convex Integration Plan.
But most of the time the identify function seeems to receive an empty state from
const user = await ctx.auth.getUserIdentity();
And then Autumn is failing.
When i wait until it gets published probably from WorkOS to Convex and then when the organization is available i wait 5s then autumn has the information 90% of the time.
Anyone got this combination working successfull yet?
Or should i use a different approach?
Here is the repo if someone wants to take a look:
https://github.com/sandan-dominik/nextjs-convex-workos-intl-theme-template/tree/useautumn-integration
Thank you!
