The problem is that cookies are not installed on the client during authorization
I have deployed the nestjs app on render.com
I read in the topics that the problem may be due to the domain, so I linked my domain to both the client and the server
Frontend - tl-base.kz
Backend - api.tl-base.kz
Everything works correctly during local development.
Here is the cookie setting
cookie: {
maxAge: 604800000,
httpOnly: true,
secure: true,
sameSite: 'none',
domain: '.tl-base.kz',
}