Drop CSRF cookie dependency (js-cookie), store tokens via localStorage with
optional Capacitor Preferences mirror, and attach Authorization on every
request so Android/iOS shells work without third-party cookies.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
js-cookiepath; axios uses JWTAuthorizationonly (withCredentials: false)localStoragesync source of truth + optional Capacitor Preferences mirror/hydrate for native shellsai_ml_operations/chat_backendbranchcapacitor-cors-csrf-22(CORS/CSRF Capacitor origins)Test plan
tokenStorage,nativePlatform,jwtHelpers, Auth/SignIn/WebSocket (npm run test:ci)https://localhost) and iOS (capacitor://localhost)chat.aimloperations.comunchangedCORS_ORIGIN_ALLOW_ALL=falsea57173e25eto8ac0b2a4ff