tommyOriginal post
Web Developer
Using Expo & React Native (on Web) with react-native-appwrite, I had setup my login function to use createEmailPasswordSession to login. Which seemed to work fine until I recently started trying a Firefox browser, and my login broke. After inspecting dev tools, I found multiple errors where Firefox is refusing to store the cookies when logging in:
Cookie “a_session_chatly” has been rejected because it is foreign and does not have the “Partitioned“ attribute.
Summary
Developers using Expo & React Native with the ``react-native-appwrite`` library are experiencing login issues via Firefox due to the browser refusing to store cookies. The error message indicates the rejection of the cookie "a_session_chatly" because it is foreign and lacks the "Partitioned" attribute. To resolve this, the cookies need to be configured with the "Partitioned" attribute when setting them in the application.