aiidateam / aiida-restapi

AiiDA Web API for data queries and workflow management.
https://aiida-restapi.readthedocs.io
MIT License
9 stars 7 forks source link

decide where to store passwords #5

Open ltalirz opened 3 years ago

ltalirz commented 3 years ago

It might be ok to store the hashed passwords of AiiDA users in the AiiDA DB - but perhaps in a different table (a bit like what is done for the Computers an the Authinfo).

To discuss

giovannipizzi commented 3 years ago

Up to now we tried to avoid putting credentials in the DB. This might be a case where we want to put things in the DB, with some caveats:

Another option is to put it in a file in ~/.aiida, side-by-side with the config.json

The additional question I have is: do we support/use (hashed) password, or tokens (permanent or expiring?), or both?