Closed gifu88 closed 5 months ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
Update: Watchtower updated the container this night. Both outputs of date are the same now. But it still doesn't work. Maybe it's something else.
Check your actual unifi server logs. Log file should be somewhere within your /config
mount.
I'm at work right now so I just had a quick look at the server.log:
[2024-01-24 10:39:29,912]
This is weird, because I can log in with the same username but the local password. If I use the password of my Unifi Account, it prompts for the TOTP token.
Edit: Sync local user to Ubiquiti SSO is on of course:
Edit2: Login in to https://account.ui.com/ using my username+ ubiquiti pw + TOTP also works
With the recent update to 8.0.28 the problem is still there.
Maybe the conflict because you're using the same username for local and unifi accounts. Personally never used unifi accounts so got no way to test.
I followed a guide similar to this one: https://patrickdomingues.com/2020/07/17/how-to-enable-unifi-controller-mfa/
But you gave me an idea. Will report back later.
Sorry for bothering you. The username AND password needs to be the same with the Ubiquiti account. It works perfect now.
I simply did not have the same password as the Ubiquiti Account.
Is there an existing issue for this?
Current Behavior
MFA validation is not working.
Expected Behavior
MFA Validating and login to console.
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs