obsidian-todoist-text
obsidian-todoist-text copied to clipboard
[feature] Move Todoist API token to it's own file
Move the API token to its own file and read that instead of the authToken
variable in data.json.
At least this would make it easier for me to use the Obisdian-Git plugin. Since I could then just add this file to my .gitignore, I could still use the same plugins across devices and not have to worry about accidentally leaking my Todoist API token. This could be similar to the approach in Todoist Sync Plugin especially here in index.ts.
Please let me know if there's a way I could better format this! I think it could be "feature request."
Looking into this, I see that the authToken is currently in data.json
file.
Adding that the authToken file in the Todoist Sync plugin is generated by token.ts, which is then referenced by the index.ts mentioned above.