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
- How to bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- 401 - Project not accessible in this reg...
Hi Appwrite team, I’m experiencing a Cloud Console issue with my NYC region project. Problem: - Some Console pages return: “401 - Project is not accessible ...
- 401 - Project not accessible, Singapore ...
Hi, I'm getting a 401 error when I try to open my project from the Appwrite Cloud console dashboard. Project ID : sgp-6a04326f002bd04cc420 Region : Singap...