Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
LuisG
2 years agoNew Contributor
After upgrading to op2, I'm getting an error with signin
For some time now we've been able to login successfully with:
op signin {domain} {email} {key} --raw --shorthand {email} ;
However, after upgrade to op version 2 we are getting the error:
...
1P_Tommy
Moderator
2 years agoHi LuisG! 👋
The sign-in flow for 1Password CLI 2 works differently than version 1. In version 2, op signin
signs you in to 1Password CLI using the 1Password desktop app integration. This allows you to use biometric unlock with the CLI.
If you still want to use a manual authentication flow like in version 1, this article explains how to do that. You can set a shorthand for an account with op account add --shorthand <shorthand>
then sign in with the following command:
eval $(op signin --account <shorthand>)
Let me know if that helps!
Also, could I ask what documentation you were referring to? I'd love to update the docs to make this more clear.