mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-01 12:02:05 +00:00
fix(dashboard-auth): exclude non-interactive providers from interactive login surfaces (#53239)
* Return None instead of erroring on drain login failure * Fix login on drain * Remove login for drained endpoints flow and clean the code * chore: drop unrelated credits changes from this PR * Remove extra comments that were not really necessary
This commit is contained in:
parent
7a38d64a85
commit
dbe734beff
10 changed files with 89 additions and 6 deletions
|
|
@ -143,6 +143,7 @@ class DrainSecretProvider(DashboardAuthProvider):
|
|||
name = "drain-secret"
|
||||
display_name = "Drain Control (service credential)"
|
||||
supports_token = True
|
||||
supports_session = False
|
||||
|
||||
def __init__(self, *, secret: str, scope: str = "drain") -> None:
|
||||
# Defence in depth: construction also enforces the entropy bar, so a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue