Use Clerk `getAuth(req)` in a Zact server action
Is there a way to get the Next request object in a Zact server action.
I require this to be able to get the current user using Clerk's
I require this to be able to get the current user using Clerk's
getAuth functionSolution
You gotta do action > server > client because action -> client doesn't support headers yet