Rank 2: Process
Hi,
I own a domain example.com which is registered with the Appwrite nameserver. My website runs on Sites, using www.example.com as domain, and my functions use <function-name>.example.com. I added a custom domain for the Appwrite API called api.example.com, so it'll e.g. call api.example.com/v1/account to get the current user's information.
Here's the issue: When I login (using OTP), the session cookie is stored on .api.example.com, but my browser doesn't send these cookies to any other requests. I have some functions which require the user to be logged in.
Is there any way to configure Appwrite to set session cookies on .example.com instead?