We’ve been using capacitor for a couple of months now, but for security reasons we only now implemented HttpOnly cookies.
Now, with HttpOnly cookies, cookies are automatically set by a
Set-Cookie header (at least on the web) but this doesn’t seem to be working at all on our apps.
What is the recommended way to save tokens in Ionic/Capacitor?
Should we ditch HttpOnly on our apps in favor of saving to
💊 Capacitor Doctor 💊 Latest Dependencies: @capacitor/cli: 2.4.3 @capacitor/core: 2.4.3 @capacitor/android: 2.4.3 @capacitor/electron: 2.4.3 @capacitor/ios: 2.4.3 Installed Dependencies: @capacitor/cli 2.4.3 @capacitor/android 2.4.3 @capacitor/ios 2.4.3 @capacitor/core 2.4.3 @capacitor/electron not installed [success] Android looking great! 👌 Found 0 Capacitor plugins for ios: [success] iOS looking great! 👌
Currently I’ve been testing stuff on iOS, but I’m fairly sure issues will be similar on Android.