El-Tommy opened a new issue, #1533:
URL: https://github.com/apache/cordova-android/issues/1533

   I recently had to migrate Cordova Android from version 8 to 10. It turns out 
that there were many changes in the security of the WebViews and with that, my 
app no ​​longer stores the Cookie ID for authenticating sessions on my backend 
server. With each XHR request (GET/POST), it always receives a new 
cookie/session ID, as it did not send any.
   
   Because of the changes in version 10, I adapted my backend to allow the app 
to connect to it with the `Access-Control-Allow-Origin` header, and set an 
alias to my app's `<preference name="hostname" value in the property 
="com.myapp.mobile.example-name-site" />`or, should I put exactly the domain it 
connects to in hostname?
   
   Is it possible to keep the first cookie ID received from the backend and 
send it in other requests? Or should I change my backend to work with another 
authentication method, eg Token/Bearer?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to