Skip to content

bridgev2/provisioning: support challenges - #529

Draft
slice wants to merge 1 commit into
mainfrom
skip/challenges
Draft

bridgev2/provisioning: support challenges#529
slice wants to merge 1 commit into
mainfrom
skip/challenges

Conversation

@slice

@slice slice commented Jul 27, 2026

Copy link
Copy Markdown

Networks can often put clients into a state where an interactive flow is required to resolve some condition that unblocks further use.

Define a new ChallengeProvidingNetworkAPI interface that lets connectors model the flow through LoginProcess, which we're exploiting here to provide a sort of bridge-driven UI. Additionally, we use ProvLogin to reuse its state tracking.

Clients msut contain some logic to hit /v3/login/challenge when they observe that the bridge is in BAD_CREDENTIALS. Right now this is undefined. However, a valid approach could be checking it every time a reconnect is needed.

@slice
slice requested a review from tulir July 27, 2026 04:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant