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
- Updating GitHub App access throws error
Steps to reproduce - 1. Have some private repos allowed on the install access 2. New Site/Func > Connect GitHub > see the side card saying `Missing a repo` > cl...
- New Build not visible on Domain
I pushed some new code to my Appwrite Site and the build succeeded and is shown as active. Yet, I can only see the new version of the site on Appwrite's provide...
- DNS bug
Hello, we found bug at the Appwrite Cloud Domains, when changing **only ** the Comment of CNAME, we get error DNS record already exists. Some DNS types do not ...