'How to capture generated session-cookie value in express-session?
i am building login system using React Native. I want to integrate mobile app with web application, that's why i want to create login route, which returns cookie value for req.session (Then i want to store it using expo-secure-store library, and send it in every request header as cookie value - exactly same as on web application). Unfortunately, i've found only req.sessionId, but it is not actual cookie value.
Is there some way to catch this?
Also any other ideas how to integrate mobile & web apps would be very appreciated.
(For those who are wondering: I need to save Mobile Push Notification Token in database to specified user - in this case login is key.)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
