Skip to content
Back

Logging in via appwrite with Firefox

  • 0
  • React Native
  • Auth
tommy
8 Nov, 2024, 07:24

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:

TypeScript
Cookie “a_session_chatly” has been rejected because it is foreign and does not have the “Partitioned“ attribute.
TL;DR
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.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more