You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 3, 2020. It is now read-only.
The Questrade package writes the Questrade key to disk on the file system for data storage:
Questrade.prototype._saveKey = function (cb) {
cb = cb || function(){};
var self = this;
fs.writeFile(self._getKeyFile(), self.refreshToken, 'utf8', function (err) {
if (err) return cb({ message: 'failed_to_write', details: err });
cb(null, self.refreshToken);
});
}
If running on a service like Heroku with an ephemeral file system, the data will not persist and the API key will not be valid. TODO: Write the temp key to a database and retrieve it when requested by the Questrade package.
The text was updated successfully, but these errors were encountered:
jonathanbell
changed the title
Installation on popular cloud servers invalidate Questtrade key
Installation on popular cloud servers invalidates Questtrade key
May 18, 2018
The Questrade package writes the Questrade key to disk on the file system for data storage:
If running on a service like Heroku with an ephemeral file system, the data will not persist and the API key will not be valid. TODO: Write the temp key to a database and retrieve it when requested by the Questrade package.
The text was updated successfully, but these errors were encountered: