amir
amir
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Gotcha, thanks @ballingt
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Yeah, thats what I was thinking too as a last resort
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Maybe patch the npm module or smth
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Okay, in the meanwhile is there a way for me to fix that on my end? To return userId as sub?
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Usually sub is just the user id
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Just trying to understand why is the session id needed?
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Always
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Is there no easy way to tweak it, so that the sub is just constant userId
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
How is the sub field being generated currently for JWT?
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Right
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
As its validating against the JWKS URI
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Right the whole JWT
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Im not sure Im getting you, why?
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
With the same JWT_PRIVATE_KEY thats used by the Convex Auth backend?
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
to generate wallets
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
im getting the token using this hook, and passing it to the third party system, its looking for the sub field as far as I can tell
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
const token = useAuthToken()
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Im passing it to third party system to generate web3 wallet for users, and because of the sub field changing, its generating new wallets each time
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
Right
43 replies
CCConvex Community
Created by amir on 12/20/2024 in #support-community
Convex Auth JWT Subject
What specifically? Im using NextJs with Convex Auth
43 replies