Hello, I am trying to implement Github and Google oauth on our community portal (https://angular.jscebu.org). While on PC browsers, the oauth works correctly, however, when logging in from a mobile browser (Firefox/Chrome on Android), it seems that the session doesn't persist.
I also tried logging in with email and password and it seems to be working fine.
Would like to ask your help if I miss anything.
Thank you so much.
some browsers are particular about cookies. To ensure full compatibility, it's best for your front end and appwrite to share the same base domain. I would suggest adding a custom domain to your project and having it be something like appwrite.jscebu.org or appwrite.angular.jscebu.org. For docs on custom domains, see https://appwrite.io/docs/custom-domains
Thanks Steven, wondering about this too. I'll share my further findings on this one.
Login works now with appwrite served on same domain. Thanks Steven.
[SOLVED] OAuth doesn't register session on mobile browsers
Recommended threads
- Middleware
how to make middleware in nextjs appwrite with client side auth?
- Error 400: redirect_uri_mismatch
Hi team, Google OAuth was working fine with our Appwrite Cloud setup until yesterday. We did not change any configuration in Appwrite, Google Cloud, or our cod...
- Bulk delete failed with 401
- I created a transaction to bulk delete rows in a table has `done` equal `true` follow documentation. But when run, it returns 401 unauthorized error as screen...