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
nsushkin
5 months agoNew Contributor
op signin not idempotent
In Linux, with the 2.30.0 CLI, I keep running eval $(op signin) and it keeps prompting for my passphrase every time.
1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Linux
Browser: Not Provided
- nsushkinNew Contributor
You have to pass the session token via --session argument for eval $(op signin) to be idempotent
`` - celliso1New Contributor
This needs further explanation in the documentation and the CLI help:
--session token Authenticate with this session token. 1Password CLI outputs session tokens for successful 'op signin' commands when 1Password app integration is not enabled.
Does the same token work forever?
Is it safe to save the session token in plaintext, i.e.
~/.profile
?I am using Windows 11 WSL, and the integration does not seem to work with either the Windows or Linux Desktop version. My users are complaining that they have to enter the password in each new terminal window. Saving the session token to .profile prevents this, but feels unsafe.