I have implemented Google auth which works fine with a browser but for some reason it does not work only when I open a website on mobile device. How is this possible? I though it's might be only me but me and my friends tried with chrome and safari on mobile and same issue. No problem on desktop browser though. Any ideas?
You might be running into a problem with 3rd party cookies. See https://appwrite.io/docs/custom-domains
- Does my domain needs to start with appwrite like appwrite.my-app.com ?
- Do I need to change the connection to i.e:
const client = new Client()
.setEndpoint(https://appwrite.my-app.com/v1)
.setProject(process.env.NEXT_PUBLIC_ENDPOINT!);
- Do I ned to change in google console URI from https://cloud.appwrite.io/v1/account/sessions/oauth2/callback/google/647de70a6139cddef6d2 to https://appwrite.my-app.com/v1/account/sessions/oauth2/callback/google/647de70a6139cddef6d2
?
It means yes?
all 3?
Yes
solved
[SOLVED] google auth does not work only for mobile
Recommended threads
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...
- Custom Domains
Hi All, Should be a quick config issue. I'm setting up custom domains on the hosted version. I have verified the domain with the CNAME but appwrite isn't gene...