Hi, I would like to use @auth0/nextjs-auth0
with react server actions but have not found detailed documentation about the best practices. I noticed in the withApiAuthRequired
method, there are some cookie related logic (setting cookies, etc) and was wondering about the same when using the library with React server actions. I have read the Using Next.js Server Actions to Call External APIs article too but it doesn’t discuss the cookie related logic.
I also created an issue on the @auth0/nextjs-auth0
repository on GitHub but haven’t received any responses - it would be amazing if someone from the development team could assist with the query.
Thank you!