Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
techotaku
2 years agoNew Contributor
Create New Login Item to Include One-time Password Field
I've successfully updated a login item with an existing one-time password field using:
op item edit 'Postmaster [@example.com]' 'one-time password'='otpauth://totp/Example:postmaster@example.co...
techotaku
2 years agoNew Contributor
Can confirm it's possible to create a new login item with a one-time password field using a template containing values similar to:
...
},
{
"id": "TOTP_fwzkjzlyjfyjylwqygpvmbivgy",
"type": "OTP",
"label": "one-time password",
"value": "otpauth://totp/Example:postmaster@example.com%3C/legend%3E?secret=BASE64ENCODEDSTRING&issuer=Example2FA%20mail.example.com"
}
...
Then it's a simple matter of using op item edit ...
to update the OTP field.
Apologies for not having investigated further before posting, but hopefully someone else may find this useful.
Steve.