v.karbovnichy
CCConvex Community
•Created by v.karbovnichy on 3/16/2024 in #support-community
[Solved] Sending auth info breaks ws connection to Convex

4 replies
CCConvex Community
•Created by v.karbovnichy on 3/16/2024 in #support-community
[Solved] Sending auth info breaks ws connection to Convex
when I wrap in JSON.stringify to make it really a string instead of map
return JSON.stringify(await response.json()) as string;
then I get another error:
{"type":"AuthError","error":"Could not parse as id token","baseVersion":0}
Maybe I really need to reencode my own JWT from NextAuth's one (which is encrypted), but what are the options for signing/encrypting?
I've added this to the convex
dir (however not sure it took it)
4 replies