Start a new topic
Solved

1Password Integration Error

Hi there,

we are having issues implementing 1Password via the dynamic folder.

We have python with the required modules installed, as well as the 1Password CLI binary.

As soon as I refresh the folder I get the following error:

image

Do you guys have any idea? Thank you.


Here are some version infos:

python: 3.10.4

1Password CLI: 2.1.0

Royal TS: 6.1.50425

I tried the 1Password CLI Version 1 and also Version 2.0.1. Didn't work either. The python modules are definitely installed. I tried importing them via python shell and got no error. I can also login via the op.exe. The account is being created fine. There is an email coming from 1Password saying I registered a new device. Is there some compatibility issue wirth some python module? Is there a logfile where I can dig into this deeper?
Thanks.

 

Another Update: macOS seems to be working. Windows is the problem here. Used different machines. Disabled Windows Defender etc. No change in the behaviour.

Last Update for today: It definitely must have something to do with the recent changes due to 2FA. As soon as I activated 2FA for the account I used for the dynamic folder, it started working for Windows. Maybe you guys can take a lot, as I am not the programming guy. Hope all of the information I provided will help. Thanks a ton.

Hi Carsten,


as mentioned in my reply to your ticket, the problem was reproduceable on Windows machines, when 2FA is disabled.

In the meantime, you can use the previous version of the script, I sent you in the ticket reply.


Thank you very much, we will look into the script!


best regards,

Christoph Mühlberger

Hi Carsten,


good news!


Our lead dev reworked the script and I can confirm that it works for Windows & macOS, whether MFA is activated or not.

I attached the script to this post.

Alternatively, you can import it via the Royal TS/X sample gallery.


Have a great day!


best regards,

Christoph

rdfe

Hi there,


I just integrated 1password via dynamic folders. Until now I used the integrated implementation, but that stopped working with the update to 1password v8.

Now I'm getting a MFA pop up every time I want to use a password out of the dynamic 1password folder! And in addition to that the whole process is very slow.

Is there a way to avoid the recurring MFA request (no, deactivating MFA isn't an option ;-) ) and to speed that up?


Best regards

Christoph

Hi Christoph,


I'm afraid that this is currently by design, since our Dynamic Folder scripts are implemented "stateless", which basically means, that we don't leave any traces, which however leads to the MFA prompt having to be validated with each connection.


A possible workaround (as mentioned here in our GitHub forum https://github.com/royalapplications/toolbox/issues/54), would be to adjust the script so no log-off takes place, however this could lead to issues when several 1PW accounts are being used.


Adjusting the script, so the user can decide whether a log-off takes place, would be a possible solution.


I hope this information helps!


Best regards,

Christoph

Hi Christoph,


good news!

One of our users modified the script, so the MFA request only occurs one time, in case the device has not been authenticated previously.


When using the credentials of the Dynamic Folder, you will not get a prompt to reenter the MFA code anymore.


You can either download the script via our Gallery within the app or download the script directly from here:

https://github.com/royalapplications/toolbox/tree/master/Dynamic%20Folder/1Password


I hope this helps, and thanks to pv2b for adjusting the script!


Best regards,

Christoph

Login or Signup to post a comment