Now that we fetch data from nextjs server, we need the auth details (token) to be available in the server too.
The way to do it is to move this data from localStorage to cookie.
There is no impact on the user once this is done but it allow us to give better user experience and reduce server calls.
Now that we fetch data from nextjs server, we need the auth details (token) to be available in the server too.
The way to do it is to move this data from localStorage to cookie.
There is no impact on the user once this is done but it allow us to give better user experience and reduce server calls.