UniFi console MFA fill stopped working
I've been using UniFi and 1Password for years. Most recently, but NOT currently, I would autofill (Cmd-Backslash) username and password, proceed to the MFA screen, hit the tab key, and the OTP MFA would successfully fill. Even further back in time, rather than fill immediately, I had to paste the OTP.
Currently, once I autofill the username and password, and proceed to the MFA screen, after I hit the tab key, the blinking cursor appears, but nothing is filled in. I hit paste nothing is inserted. Instead, I must go to the app and manually copy-paste the OTP.
Unfortunately, I do not recall when this happened, perhaps a couple weeks ago or maybe longer.
1Password Version: 8.10.39 (81039001)
Extension Version: 2.27.1
OS Version: macOS 14.6.1
Browser: Safari 17.6
Comments
-
I see two related posts:
https://1password.community/discussion/132350/unifi-console-2fa-autofill-issue
https://1password.community/discussion/142506/ubiquiti-unifi-2fa-autofill-broken
Neither have helped.
0 -
I have the UniFi 1Password item setup for a specific IP address "Only fill on this exact domain". It is the only 1Password item with this IP address.
The UniFi 1Password item also has two other IP addresses and 3 hostnames, all configured the same way "Only fill on this exact domain".
When attempting to use the 1Password on those other hosts, it has the same issue - i.e. the password will fill but not the OTP.
0 -
Hello @sunrocktree! 👋
I'm sorry that the one-time password for two-factor authentication isn't filling when you use Universal Autofill (command-backslash). I see that the team was able to reproduce this issue on our end and it's currently in our developers queue to look into further. I've added your report there as well.
For the time being, if you fill your credentials using the 1Password in the browser (the browser extension) and not the keyboard shortcut (Universal Autofill) then does the one-time password get filled correctly?
I look forward to hearing from you.
-Dave
ref: dev/core/core#24271
0 -
On my first attempt, I opened a new Safari window, went to my UniFi console URL and clicked the lock, then nothing happened. 1Password was open and unlocked.
I quit and reopened Safari. Now when clicking the lock, it showed my 1P login item. I clicked the login item, it filled in username and password, then I clicked "Sign In" and proceeded to the next page. It still did not fill in the OTP.
So I tried to paste in the OTP. It pasted a code, but the code was not correct. Upon quickly checking 1Password, the code it pasted was different than the code for the login item. I copied the login item code and pasted it manually and that worked.
I am curious how the wrong code was pasted, but TLDR: browser extension didn't work either.
This image is of the lock where nothing happened upon clicking it; the 1Password app was open and unlocked.
0 -
I'm sorry that 1Password in the browser wasn't able to fill the one-time password either. So that we can get this fixed, could you please send the page structure of the webpage in question to our support team? Follow these steps:
- Open the website in question until you can see the one-time password field that you're referring to.
- Right-click on the page and click "1Password - Password Manager" > Help > Collect Page Structure.
Attach the resulting JSON file to an email message addressed to
support+forum@1password.com
.With your email please include:
- A link to this thread: https://1password.community/discussion/147918/unifi-console-mfa-fill-stopped-working#latest
- Your forum username: sunrocktree
- A link to the affected webpage.
- Please do not post the file here on the forum.
You should receive an automated reply from our BitBot assistant with a Support ID number. Please post that number here. Thanks very much!
-Dave
0 -
I just upgraded "1Password for Safari" to 8.10.44 and now it works!
When I login with 1Password, it goes to the OTP screen, I hit Tab, and the code is filled in.
Thanks for the fix!
0 -
I'm glad that things are working again. If you see the issue return then please let me know. 🙂
-Dave
0