Support non-interactive logins #3

Open
opened 2025-10-17 03:44:31 +00:00 by khird · 0 comments
Member

The SDK at present only supports getting the password from standard input. CleverBrag's use case is that we have a Swarm profile with a password stored in the database, and the SDK would ideally provide either the option to set the password as an argument to __init__() (preferred workflow) or to a manual invocation of update_token() (less preferred but acceptable).

Definition of done:

  • the SDK allows calling code to set the password with some automated mechanism
  • in the case of token expiry, e.g. in polling, the SDK should reuse the provided password
The SDK at present only supports getting the password [from standard input](https://git.cleverthis.com/cleverlibre/cleverswarm-python-client/src/commit/cd808dc3dd2beb77b661fc0dda65fd2082596b66/src/cleverswarm_python_client/libs/cleverswarm_client.py#L159). CleverBrag's use case is that we have a Swarm profile with a password stored in the database, and the SDK would ideally provide either the option to set the password as an argument to `__init__()` (preferred workflow) or to a manual invocation of `update_token()` (less preferred but acceptable). Definition of done: - the SDK allows calling code to set the password with some automated mechanism - in the case of token expiry, e.g. in polling, the SDK should reuse the provided password
khird added the
State
Unverified
Type
Feature
labels 2025-10-17 03:44:31 +00:00
CoreRasurae added
State
Verified
Points
2
Priority
High
and removed
State
Unverified
labels 2025-10-27 15:57:44 +00:00
CoreRasurae added this to the v0.1 milestone 2025-10-27 16:05:55 +00:00
CoreRasurae added this to the Sprint Sep 15th - 28th project 2025-10-27 16:05:58 +00:00
CoreRasurae modified the project from Sprint Sep 15th - 28th to Sprint 0ct 15-28th 2025-10-27 16:06:10 +00:00
CoreRasurae added
Priority
Backlog
and removed
Priority
High
labels 2025-10-29 22:02:14 +00:00
CoreRasurae removed this from the Sprint 0ct 15-28th project 2025-10-29 22:02:18 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Blocks
You do not have permission to read 1 dependency
Reference: cleverlibre/cleverswarm-python-client#3