
Its been more than 48 hrs now and the problem still persists. Please help. I am using hostinger for the domain and my webapp is hosted on vercel. I am trying to implement custom domain on appwrite since i had issues with third party cookies while using google auth.

Generally you canβt create a CNAME on a root domain?

Oh

But hostinger just allowed me to add in a cname

How do i fix the issue

Yeah the third party cookies it solved when your fronted is served from the main domain (www.maindomain.com) and appwrite from a subdomain (appwrite.maindomain.com)

ok could you guide me now on how to resolve this problem?

is this how it has to be done?

Is your main domain pointing to your frontend right? do you see a response from your frontend?

yes

Ok, yes I can see that. and appwrite.thepatialahouse.online, is working too but there is no certificate

So you added a cname entrie in your domain and then added the frontend as platform?

You're using SSR. I think you don't need SSR?

If so, disable it so it's easier

Or wait for 1.5 or handle it with cookies

How do i disable it?

"use client";

In the pages

But i am already using use client in all the pages

And what method are you using to login?

For google auth?

oh you're using oauth2... can you check the network call in the browser, when google calls the appwrite callback to create the session, you can check the cookies created as well

No, thatβs not necessary

Depends on the platform. In this case not. Apologies for the error

Sure lemme send it you
