Integrating convex with clerk
Hi all,
I have been able to setup clerk with convex but I was wondering how can I include the
private_metadata
field of users in the ctx.auth
object :dankSpin:3 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
In the JWT template i set the claims to Then I have something like this to get the user identity
:1_nymphelia_Sip:
Although I cannot get the system role thingy to pickup my user system_role :Erm:
Ahh i dont think clerk allows private metadata through a JWT template
You'd be better off fetching the user from clerk when needed