I have my parent domain, e.g. https://awesomedomain.com
which hosts the landing page for my app and the main app is hosted on https://app.awesomedomain.com
.
When I authenticate a user on the subdomain https://app.awesomedomain.com
and store the data in local storage I want the parent domain https://awesomedomain.com
to be able to have access to the local storage of the subdomain.
Both apps are all on React. How can I achieve this?