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
- fastly error
Hey! I'm hitting a Fastly error on the www version of our site, but the root domain works fine. We have a wildcard set up, so I expected the subdomain to be cov...
- Facebook's scraper facebookexternalhit g...
share.bardbliss.com but works fine on the raw fra.appwrite.run URL. No execution logs appear when Facebook hits the custom domain. This was working before. How ...
- How to Display File in Web?
I'm trying to use Appwrite's Storage to store images and display them in my app, however when I use the `getFileView`, `getFileDownload` or `getFilePreview` met...