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
Recommended threads
- Custom API domain is unreachable
Earlier my custom api domain was working fine. Now it seems to be offline without a trace a few hours later. I didn't change anything, all the relevant DNS reco...
- "Invalid console fingerprint" when unpau...
I've tried logging out and logging back in, still can't figure out why this is happening.
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...