This is not about storing my user's login details in the app, I already use hash and JWT tokens for that. There is a part of our app where we need to store the login details of the user for another website.
e.g they enter their username and password, it gets stored in my system and then my node server wakes up at night uses their details to login into the other system and pull out the data it needs. What's the best and safest way to store these details in the system as I need the password in text form to log into the website.
We are receiving permission from the user to do this as it is automating an essential part of our data collection for the user. It's just the other website/system doesn't have any other way of providing the data to us unless we want it in paper form in the post.