Document typed managed auth outcomes - #527
Open
masnwilliams wants to merge 1 commit into
Open
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
There was a problem hiding this comment.
Risk assessment: Very Low
Approved.
This diff only edits two Mintlify auth guides (auth/connection-lifecycle.mdx, auth/programmatic.mdx): +12 / −2. It adds documented error_code rows and recovery copy, and tightens one sentence about unattended reauth terminal codes.
- No application, API, or infrastructure code changed
- No config, CI, navigation, or OpenAPI updates
- No CODEOWNERS file and branch rules do not require code owner review
- Blast radius is docs copy only; no production logic or shared systems
Safe to approve under the Very Low documentation-only criteria.
Sent by Cursor Automation: Assign PR reviewers
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
注册 for free
to join this conversation on GitHub.
Already have an account?
登录 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.


summary
dependency
Merge after kernel/kernel#3666 is deployed.
validation
mintlify broken-links/auth/connection-lifecycleand/auth/programmaticlocallyNote
Low Risk
Documentation-only changes to auth guides; no runtime or API code in this repo.
Overview
Expands Managed Auth docs so unattended reauth failures are described with specific terminal
error_codevalues and matching recovery steps, aligned with the upcoming API behavior (post kernel#3666).On connection lifecycle, the failure table now distinguishes
credentials_invalid(username/password) fromtotp_code_rejected, and adds codes for MFA and human-only blockers (totp_required,sms_code_required,email_code_required,account_choice_required,customer_input_required,external_action_required). The Recovering section adds guidance for each—e.g. retry TOTP in a new window without assuming a stale secret on one rejection, use interactive login for SMS/email/account choices, and that Kernel won’t guess identities or trigger external approvals during unattended reauth.On programmatic flow, the rejected-credential note now says unattended reauth surfaces the exact terminal code (e.g.
totp_code_rejected), not onlycredentials_invalid.Reviewed by Cursor Bugbot for commit 2722cb3. Bugbot is set up for automated code reviews on this repo. Configure here.