ashuvssut (ashu)A
Convex Community3y ago
10 replies
ashuvssut (ashu)

Identity in scheduled functions

Hi

I am calling a mutation1. in its ctx arg I can get the user's identity object (
ctx.auth.getUserIdentity()
)

when I execute mutation2 via a scheduler from mutation1 (i.e mutation1 calls mutation2 via scheduler), that identity object is lost

Is there a way to get the same identity object from mutation2's ctx?
image.png
Was this page helpful?