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
- Project auto-blocked after load testing ...
Hi team 👋 My project has been automatically blocked with the message: "Project is currently blocked — Access to this project is restricted. Contact support if...
- App build crashing with "Internal error"
Hello Appwrite team! 👋 We are trying to deploy a Next.js application on Appwrite Cloud, but our builds are consistently failing. The deployment log successful...
- education plan not activated
Hi I have an edu id 13103046@iubat.edu but when I am trying to claim my plan and trying to logging with github where education student plan active. the appwrite...