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
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...
- SyntaxError: Unexpected end of JSON inpu...
I am trying to create a fcm push notification service using appwrite functions with its REST API to invoke that function from my client side app and getting thi...
- Experiencing inconsistent "500 general_u...
I am developing a task management app that uses Appwrite auth. My project is hosted on Appwrite cloud and I've created basic server-side authentication followin...