Skip to content

Create UI for managing credentials that might not be cookies #3

@solipsis-project

Description

@solipsis-project

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions