Repository navigation
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
akxue
marked this pull request as ready for review
November 13, 2026 01:25
Contributor
Author
|
Picked AnnaXWang to review: touched the changed code in |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
context
managed auth connections have a
hitlsetting. when it's on and a login hits a CAPTCHA the login browser can't get past, the login pauses atAWAITING_HUMAN_INTERVENTIONso a person can complete the check in the live view, then resumes from the page they left. without it the login fails withcaptcha_blocked. the API reference already covers the new field, step and choice type, since it's generated from the spec. the guides didn't mention any of it.changes
.login(), including a pre-task check and CAPTCHAs in front of the login form; never reauth after a health check), the 10 minute wait per pause, the timeout error, and the note on repeat pauses. addshitlto the update table.AWAITING_HUMAN_INTERVENTION: it shows the live view without blocking, so a timed-out pause still reaches the loop, and closes it when the flow moves on. a human verification section covers the submit, the 400 for anything else at this step, repeat pauses, falling back to the connection'slive_view_urlwhen the event doesn't carry one, keeping the live view to the person signing in, and the wildcardframe-srcvalues (linked to the CSP section rather than a single host, since live view hostnames change between sessions). adds the step and choice type to the reference lists.AWAITING_HUMAN_INTERVENTIONand sends the user tohosted_url, with a note on what the pause means for unattended jobs. thecaptcha_blockedrow and recovery advice mentionhitl.captcha_blockedonErroron timeout, theframe-srcvalues and the 0.6.0 minimum. the intro notes the live view is served from a KERNEL domain.HumanInterventionStepis added to the exported components.testing
@onkernel/managed-auth-react0.6.0 source, and the SDK types.tsc --strict, Python withmypy --strict, Go withgo vet.mint broken-linkspasses, the five pages load inmint devwith no MDX errors, and the new anchors resolve.Note
Low Risk
Documentation-only updates with no runtime or API implementation changes in this PR.
Overview
This PR documents managed auth human-in-the-loop CAPTCHA handling via the connection
hitlflag and theAWAITING_HUMAN_INTERVENTIONflow step across the auth guides.Configuration adds a dedicated section on enabling
hitl, when pauses apply (interactive.login()only, not unattended reauth), the ~10-minute timeout →captcha_blocked, and repeat CAPTCHA pauses;hitlis also listed in the connection update table.Programmatic, lifecycle, Hosted UI, and React pages are updated so integrators know to stop or branch on
AWAITING_HUMAN_INTERVENTION, show the login browser live view, submit thehuman_interventionchoice, handle missinglive_view_url, and relax CSPframe-srcfor KERNEL live-view domains; the React guide notesHumanInterventionStep,onErroron timeout, and package 0.6.0+.Reviewed by Cursor Bugbot for commit 4c0412a. Bugbot is set up for automated code reviews on this repo. Configure here.