still-limeS
Refine17mo ago
4 replies
still-lime

How can I check authorization in React Server Actions using NextJS?

I am using React Server Actions where I need to verify the identity of the currently authenticated user. How can I access this server side, since hooks are not available in React Server Actions and the Auth Provider seems to be client side?
Was this page helpful?