-
Notifications
You must be signed in to change notification settings - Fork 0
Description
The idea
Currently, the way to manage credentials is with falocalrepo config cookies, which controls the cookies that are sent to each request. But not every backend uses cookies: the InkBunny API, for example, uses tokens which are passed in the request parameters.
The IB backend currently has a workaround where the token is still set via falocalrepo config cookies, and is extracted from the cookie store and is avoided being sent as an actual cookie in requests. This is a hack.
The solution may be as simple as renaming the cookies command to something more general. But this also could be an opportunity to improve the workflow around credentials. For example, creating an interactive script per-backend which logs in configures the credential store without making the user do it manually.
Implementation ideas
No response