yarn dev : better handling of expired token or token associated to another cozy
Opened this issue · 2 comments
doubleface commented
In this case we should remove the token and try to recreate it.
ptbrowne commented
IMHO, all the necessary info to connect to a particular cozy should be kept in a single file.
Here we have pieces of informations in 3 places :
- .token.json
- .account
- konnector-dev-config.json
Merging them into a single file would lead to simpler dev experience IMHO.
doubleface commented
Right, except the .account file is not needed anymore since e1608d5
But yes, the token could be memorized in konnector-dev-config.json for example