Back-end: Nest.js
Front-end: TS React
Background:
Cookies are being sent by Nest on login via the set-cookie header. After login is completed, we have two problems.
Local Host Problem:
Post-login success, the user redirects to a dashboard page. The cookie isn't being retained when this happens.
Published Site Problem:
Post-login success, the redirect doesn't happen and a `CORS Missing Allow Origin" error is received.