Skip to content

Conversation

@masnwilliams
Copy link
Contributor

@masnwilliams masnwilliams commented Dec 27, 2025

Note

Modernizes Agent Auth docs to the new invocation model and credentials behavior.

  • Switches examples to a polling-based state machine (status, step) with pending_fields/submitted_fields; removes ALREADY_AUTHENTICATED branching and treats submit() as async
  • Adds explicit FAILED handling (with error_message) and terminal state checks; updates tables and polling snippets accordingly
  • Replaces reauth() with creating a new invocations.create and polling for completion across Auto-Login, Hosted UI, and Session Monitoring
  • Standardizes credential linking to credential_name (not credential_id); documents save_credential_as merging into existing credentials
  • Programmatic flow reworked from discover/submit to poll→submit cycles with TOTP/code support and UI examples
  • Minor doc tweaks: improved examples, proxy usage consistency, and notes/warnings on 2FA codes not being saved

Written by Cursor Bugbot for commit f5bc4b0. This will update automatically on new commits. Configure here.

@masnwilliams masnwilliams marked this pull request as ready for review December 30, 2025 22:50
@masnwilliams masnwilliams merged commit 6b47668 into mason/agent-auth Dec 30, 2025
2 checks passed
@masnwilliams masnwilliams deleted the mason/new-aa-state-machine branch December 30, 2025 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants