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
- Invalid Origin. Register your new client...
- CreateTables enum
What's the correct way of creating an enum column with the new definition of createTable?
- How to handle ghost accounts created by ...
Appwrite create the account with the email and send an invitation link with a secret. I am able to accept the invitation and add the account as a member on the ...