79188734

Date: 2024-11-14 12:33:34
Score: 1.5
Natty:
Report link

If you want to store a connection token, use "keytar", it's more secure.

const keytar = require('keytar');

And use this like this :

await keytar.setPassword('app-id', 'authToken', token);

and :

await keytar.getPassword('app-id', 'authToken');

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Enzo Venet