landry
landry
CCConvex Community
Created by landry on 5/20/2024 in #support-community
Add orgId and orgRole to ctx.auth.getUserIdentity()
Updating the JWT template works!. I’m setting the orgId to gender for now. I will probably do the same for orgRole, since the user’s orgRole can change from org to org. I’m adding the ordId as the key on the ConvexProviderWithClerk component in order to ensure re-renders on org change.
5 replies
CCConvex Community
Created by landry on 5/20/2024 in #support-community
Add orgId and orgRole to ctx.auth.getUserIdentity()
Okay thank you for your swift response! I'm going to try updating the JWT template in Clerk to include the org_id. I'll post any updates here.
5 replies