Repository navigation
Conversation
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
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.
merge only after the managed auth api changes that add
last_attemptandoutcomeare deployed. this page documents fields the public api doesn't return yet.context
managed auth reports a failed login as
error_codeanderror_messageonly. neither says which part of the login stopped,error_codefalls back toflow_failedfor many distinct causes, health checks carry no reason, and replay links open at the start of the video. the api is adding one outcome object, shared by the connection (last_attempt), timeline events (outcome) andmanaged_auth_statesse events (outcome), plus a typed code set (ManagedAuthOutcomeCode). this pr documents that phase 1 surface. login instructions are a later phase and aren't mentioned.changes
auth/attempt-outcomes.mdx(sidebar: managed auth > outcomes, after lifecycle):typeandattype,result,phase,code,debug_message,at,replay(replay_id,offset_ms),health_check_evidence, with when each is nullresultvalues,phasevalues, and health check evidence values with what each meanslast_attemptis replaced, with the health check rule table and a one-day exampleNEEDS_INPUT,code: null, pause fields unchanged)SIGNED_OUTandINCONCLUSIVEcoderelates to the unchangederror_codeauth/connection-lifecycle.mdx: short pointers from the health check step, the failure section, and the debugging section to the new page. the existingerror_codetable is unchanged.docs.json: nav entry.copy follows the repo's heading casing (title case h1, sentence case h2 and below) with lowercase brand prose in the body, as in
auth/programmatic.mdx.testing and validation
mint validate: strict build passed.mint broken-links(whole site): no broken links.mint broken-links --check-anchorson the two changed pages: no broken links.mint dev:/auth/attempt-outcomesand/auth/connection-lifecyclerender (200), all sections present.open questions
SIGNED_OUT,INCONCLUSIVE,login_form_not_found,account_choice_requiredandunhandled_pagemention login instructions, which ship later. this page leaves those out and should gain them with the login instructions docs.auth_check_url)", but that field isn't public. the page says "the page that health checks open" and points to a recorded health check's replay instead.