I have been trying to implement cookie token auth in my React frontend app. But having problems with the refresh token not being set on my frontend client despite it being sent correctly from my backend. I read a few posts on this forum saying I need to use a custom domain due to onrender.com being a public domain. So I created custom domains for both my frontend and backend.
I thought that changing the surnames would fix the issue but I was wrong the issue still arose. So I am now stuck not knowing how to get my react app to accept and hold onto my refresh token cookie can anyone help?