You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow credential-provider plugins to supply TOTP after the password step #1836
Credential providers work well for username/password login, but they currently cannot handle a common two-step flow: the site accepts the password, loads a second screen, and only then asks for a fresh TOTP code.
This comes up in #711. I don't think agent-browser should add 1Password-specific logic directly to the codebase; the existing plugin model is the right place for integrations with 1Password, Bitwarden, and other vaults. The missing piece is a generic way for a credential-provider plugin to supply a time-sensitive challenge after the OTP field appears.
One possible flow would be:
The credential provider returns the username/password and indicates that a second factor is available.
agent-browser submits the first login step and waits for the configured OTP field.
agent-browser asks the same provider for a fresh code.
agent-browser validates and fills the code, but leaves final submission to the caller.
That would let a 1Password plugin satisfy #711 without coupling agent-browser core to 1Password, and it would work the same way for other providers.
I implemented this approach in #1638 and also built a Bitwarden provider to exercise the protocol end to end. The PR is now behind main and has conflicts, so it needs updating before it could be merged.
Is this a direction the maintainers would be interested in? If so, I'm happy to update the PR against the latest code and adjust the protocol based on feedback before doing more work on it.
Your gap is a common one. The password works, the second screen loads, and only then does the site ask for a fresh TOTP code.
To be clear about what I have: Nephew does not supply codes, and it will not type one for you. It keeps the browser profile you logged into yourself and loads it into whatever sandbox your agent runs in. Because the session survives, the agent starts signed in, and the second screen asking for a code comes up far less often.
I will set it up with you live, free. You pay nothing unless your run finishes logged in. Only then does the $19 a month plan start.
Activity
sod-efi commentedon Nov 3, 2026
Your gap is a common one. The password works, the second screen loads, and only then does the site ask for a fresh TOTP code.
To be clear about what I have: Nephew does not supply codes, and it will not type one for you. It keeps the browser profile you logged into yourself and loads it into whatever sandbox your agent runs in. Because the session survives, the agent starts signed in, and the second screen asking for a code comes up far less often.
I will set it up with you live, free. You pay nothing unless your run finishes logged in. Only then does the $19 a month plan start.
nephew.ai
— Efi