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
- Function does not execute on users.*.ver...
Hi! I currently have the following problem: I want to create a function which triggers when the verification status (in my current case the emailVerificatin) o...
- Second Time Error sign in with Google us...
My issue is when I am first time sign with Google using appwrite,next js and successfully login and delete my logged user account permanently and after again s...
- Appwrite web sdk api key
Where can i set an api key for my appwrite project on the web sdk? .setKey doesn't work