DanielD
Convex Communityโ€ข10mo agoโ€ข
5 replies
Daniel

Is there a way to pass the auth context in workpool queues?

Hey all! ๐Ÿ‘‹๐Ÿฝ

We are using the @convex-dev/workpool extension and using a Clerk Auth setup to populate the user identity in all function requests.

We are currently trying to find an easy way to pass the auth context / user identity to the function that is triggered when using
enqueueAction
. Is there any recommended way to do this or should we just use
internalAction
and then pass the user id and other information as arguments?
Was this page helpful?