Proper way to the authorize the user in an Inngest function?
Hey there, looking for some help wrapping my head around getting the user session in an Inngest function. I have my project updated to use the newer
Inngest function
API route that triggers the Inngest function
getClaims method also. In the following code the getClaims data is empty which is expected in this scope. What would be the proper way to get the session validated in this scope to perform CRUD operations on the tables?Inngest function
API route that triggers the Inngest function