Clerk JWT Template additional properties
I added org_id and org_role to my Clerk JWT template, but these fields are not being populated with the ctx.auth.getUserIdentity();
Is this expected, if yes, what would be an ideal solution for doing RLS for organizations?
2 Replies
The library Convex uses to read the claims requires that you only use standard claims. See the thread here: https://discord.com/channels/1019350475847499849/1149707072053706793/1150625608829763584
Auth in Functions | Convex Developer Hub
Within a Convex function, you can access information