From NextJS docs on authentication it is advised to set the session cookie on the server side. However in this the guide provided here, the cookies are set on the client side. What are the consequences of setting the cookie on client? Is it a security issue?
|
await setCookie("__session", idToken); |