Hiya,
I'm having an issue as of this morning using the 1password cli integration with the 1p8 mac beta.
It launches the prompt for me to authorise an action, but its immediately dismissed (i see it flicker), and I get the following error:authorization prompt dismissed, please try again
1Password Version: 80700002
Extension Version: Not Provided
OS Version: 12.3
Comments
Team Member
Hey, @maxcbc! I'm sorry for the huge delay here. Are you still having this issue? I've reached out to the right team to see if we can get you an answer if so.
Team Member
Hey!
We have made a few improvements to the authorization process recently. So if you are still having this issue, could you try out the latest beta release? You can read here how you can switch.
Let me know if that resolves it.
Joris
Hi, I have the same error, the version that I'm using for 1password-cli is 2.0.2, and for 1password 8.7.0~90.BETA
In the console shows the follow messages
Team Member
Hey! That does not look right. Could you tell which OS/distribution you are using?
Same problem here. Happens when biometric unlock is enabled. If I disable biometric unlock, I instead get "You are not currently signed in".
1Password for Mac 8.7.1
1Password CLI 2.4.1
MacBook Pro, Intel i9
macOS 12.3.1
I'm not sure what changed, but for some reason it seems to be working now, at least for the moment. Here's what I've done since my previous post, as best I can recall:
eval $(op signin)
.op
commands.It was at this point that I ran an authenticated
op
command and the authentication prompt actually stayed on-screen and allowed me to unlock with my Apple Watch. I then went to the 1Password app, explicitly locked it from the menu, then closed the 1Password window. When I went back to the terminal window and tried the command again, it prompted again for authentication as expected, and again the prompt remained on-screen and allowed me to unlock.Hi,
I'm also experiencing the same thing. For me my Apple Watch auth prompt closes itself. I'f I'm not wearing my watch, it won't ask via fingerprint (when available) will instead just take a password or give me a "allow" option for ssh access.
Happy to post a log in here, if someone can let me know that's no sensitive information in it, and that it'll be useful.
Here's a gif:
Team Member
Thank you both for reporting back with more details. We have seen some similar reports when using Apple Watch. To see if these cases are indeed similar:
@jamesstidard, logs are definitely helpful! The logs do not contain any secrets like your account password and we go out of our way to make sure there is as little sensitive information in there as possible.
About 1Password diagnostics information
You can send a diagnostics report by following these instructions:
Sending Diagnostics Reports (Mac)
Attach the diagnostics to an email message addressed to
[email protected]
.With your email please include:
https://1password.community/discussion/128135/bug-cli-auth-prompt-immediately-dismissed
You should receive an automated reply from our BitBot assistant with a Support ID number. Please post that number here. Thanks very much!
I've not been wearing my watch while working because of this, just put it on to try and get you the details love, but it's working again now. Will report back with stuff above if it breaks again.
Thanks.
Team Member
Thank you @jamesstidard! We'll be here to take any further information you should have on this if the issue returns.
I think I have reproduced this correctly. It seems that this happens with the biometric macOS unlock is disabled and requires it's periodic manual password entry unlock to "re-enable TouchID". I have experienced this in clamshell mode.
^ Diagnostics output: [#KYX-41567-836]
Team Member
Thank you for submitting that diagnostics file, @afroman! That will be of great value in our search for the cause of the problem.
Just to make sure that I am correctly recording your findings, when you say that it "happens with the biometric macOS unlock is disabled" do you mean:
a. TouchID is disabled in macOS system settings
b. TouchID is disabled in the Security settings of the 1Password app
c. TouchID is temporarily disabled by macOS (for example because of a few failed attempts) and it will start working again after you have entered your macOS system password once (for example after locking your Mac)
d. Something different
We have seen some similar reports for option c. If that is also the case for you, locking and unlocking your Mac has shown to be a successful workaround for the problem.
In the meantime, we are continuing our investigation to the root cause of the issue. Thanks again for helping us out with that 🙌
Hi @Joris_1P !
Option
c
is what I'm seeing. In my case, it's the biometric (touch/watch) timeout (172800 seconds).I have an interesting variant of this bug:
I have biometric lock enabled but my laptop is closed and i'm connected to an external monitor (therefore biometric lock isn't available) - not a problem when using the Quick Access shortcut to open 1Password, but looks like 1Password being unlocked isn't enough for first run of the
op item get
command and it's failing on the immediately dismissed biometric authorization promptop --version: 2.14.0
os: mac os 13.2
macbook pro m2
Team Member
Thanks for sharing that, @mike0x41! To get the full picture clear: are you using an Apple Watch by any chance?
@Joris_1P yes! 😆
@Joris_1P I wanted to upvote this thread. I got an apple watch yesterday and enabled "Allow Apple Watch to unlock Mac" in system settings. I immediately started having issues with my ssh-keys and ssh-agent. Once I turned it off, everything started working. 😅
Team Member
Hi @mike0x41 and @drewipson:
Would each of you mind sharing some diagnostics details with us? I'd like to ask you both to create a diagnostics report from your Mac:
Sending Diagnostics Reports (Mac)
Attach the diagnostics to an email message addressed to
[email protected]
.With your email please include:
https://1password.community/discussion/128135/bug-cli-auth-prompt-immediately-dismissed#latest
mike0x41
/drewipson
You should receive an automated reply from our BitBot assistant with a Support ID number. Please post that number here. Thanks very much!
Team Member
Thanks @mike0x41
We've got your report.
ref: DCG-58227-949