

What's your code?
Can you check the network and console logs?
You might be running into a 3rd party cookie problem. To solve that, you need a custom domain

Can I do that on mobile ?

Why not?

Im not experienced with IOS device (safari) F11. Is there any way can i prototype that on my PC ?

Prototype what?

I added custom domain appwrite.peksai.com

And did you update your app to use that for your endpoint?

const handleGoogleLogin = async () => {
setLoading(true);
setError(null);
setSuccess(null);
try {
await authService.googleLogin(); // Ensure this returns a promise
} catch (err) {
setError(err.message || "Google giriş başarısız. Lütfen tekrar deneyin.");
} finally {
setLoading(false);
}
};
--
googleLogin = () => {
return AuthService.account.createOAuth2Session(
"google",
"http://www.peksai.com/",
"http://www.peksai.com/login"
);
};

Not atm, can you tell me how to do that?

client
.setEndpoint("https://cloud.appwrite.io/v1")
.setProject("");
i assume i need to change this right? to https://appwrite.peksai.com ?


https://appwrite.peksai.com/account GETS 404 not found atm.


You're missing the v1


It gives not allowed atm.

do i need to add new api route here ?


Ok i think i need to change callback url on there instead.

The URI should be the same except for the hostname/domain

It works on PC now. Need to test it on mobile tho

Its fixed.

Custom domain solved it. thank you.

Recommended threads
- Sites 30MB limit from GitHub
I’m deploying a site from github as Other type on the Hobby plan. It is actually a Flutter web app but it’s in a subdirectory with the root being an html landin...
- [bug] API response is good but UI don't ...
Hi guys! When i got my object, it have billingInfo relation, in the web ui i just got pading state, and the row shows object is null, but when i work whit this...
- Query params are way too limiting in ter...
I was trying to list rows in a table that do not already exist in another table. I retrieved around 260 row IDs which are 13 characters in length each, and then...
