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
- Authentication on custom Websocket Serve...
Hi, I want to use a custom Websocket Server (using Bun) for my application. However I cant really figure out authentication on custom servers. Session cookies ...
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...