Hosted Site: siteUrl
issue facing: cookie is being set by the server on the browser but hosted application is unable to read it, although it runs well in local env.
The server set cookie with the following options ( { maxAge: 1800000, sameSite: ‘None’, secure: true } ).
In client side for reading i’ve already tried the following ways
on signin server set the token into the browser via response object.
for signin you can use these dumy credentials:
email: helloworld@gmail.com
password: helloworld
It looks like the cookie is set by on a different domain which means your site’s client-side javascript will not be able to access it. This Stack Overflow post has more details: