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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...