Hi @blacs30,
I'm so excited to get this one working! Kudos for the work. It seems that I'm having some issues and wanted to put them out there in case someone is having a similar issue and for your information so that it can be resolved:
Environment:
MacOs Catalina v10.15.2
Homebrew: v2.2.2
bitwarden cli: v1.8.0
Alfred: v3.8.6
Alfred Bitwarden Workflow: v1.2.4 (Only because the latest version v1.3.0 -I think- is "incompatible" with Alfred version 3.8.6)
Actions:
bwsetemail - Set the Bitwarden user account email
bwsetserver - Set the Bitwarden server to connect to
bwset2fa - Enable 2FA for Bitwarden login
bwset2famethod - Set the method for the Bitwarden 2FA login (1)
bwlogin - Log in to Bitwarden
Verified that the accessibility is correctly set up as recommended earlier in the thread.
Issue:
[2020-01-10 11:32:44][input.keyword] Processing output of 'action.script' with arg ''
[2020-01-10 11:33:09][ERROR: action.script] .
11:32:44 workflow.py:2055 DEBUG ---------- Bitwarden CLI (1.2.4) ----------
11:32:44 <string>:120 DEBUG MAIN: Started
11:32:44 <string>:97 DEBUG START get_bw_exec
11:32:44 <string>:106 DEBUG END found get_bw_exec
11:32:44 <string>:157 DEBUG MAIN: Start login with 2fa and method set to: 1
11:32:44 <string>:54 DEBUG login: - bw Start running bw login
11:32:44 <string>:17 DEBUG login: START for ***********@gmail.com and title: Enter Bitwarden password
11:32:44 <string>:37 DEBUG login: START osascript to ask for the password.
11:32:51 <string>:40 DEBUG login: Evaluate returned result status from the password entry.
11:32:51 <string>:17 DEBUG login: START for alvarobolanos@gmail.com and title: Enter Bitwarden second factor code
11:32:51 <string>:37 DEBUG login: START osascript to ask for the password.
11:33:05 <string>:40 DEBUG login: Evaluate returned result status from the password entry.
11:33:08 <string>:73 DEBUG login: bw Evaluating bw login result
11:33:08 <string>:78 DEBUG login: bw An error occured: [object Object]
11:33:08 <string>:159 DEBUG MAIN: 2fa with method set login result: (trimmed)
11:33:08 <string>:162 DEBUG MAIN: Error occured: [object Object]
11:33:09 workflow.py:2097 DEBUG ---------- finished in 24.185s ----------
[2020-01-10 11:33:09][action.script] Processing output of 'output.notification' with arg 'error output: [object Object]
'
Here's the notification related to it.
Let me know if you need more information and I'll be happy to share what I can.
Regards.