Skip to content

Support 2fa token script#1338

Open
sector2000 wants to merge 1 commit into
adrienverge:masterfrom
sector2000:support-2fa-script
Open

Support 2fa token script#1338
sector2000 wants to merge 1 commit into
adrienverge:masterfrom
sector2000:support-2fa-script

Conversation

@sector2000

Copy link
Copy Markdown

This PR adds support to execute an external script to retrieve the 2FA token, instead of reading it interactively from stdin.

For example I have a script that waits for the SMS with the OTP, extracts the OTP and prints it to stdout.

The external script path is passed via --2fa-token-script=<path> cli parameter or 2fa-token-script = <path> config entry. If not provided, it falls back to interactive stdin.

@sector2000
sector2000 force-pushed the support-2fa-script branch from a8ae458 to 2ed256f Compare June 8, 2026 10:37
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.

1 participant