Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unifi (UNFIMP) plugin authentication - 2 factor required by unifi #754

Closed
2 tasks done
DavidFederX opened this issue Aug 2, 2024 · 4 comments
Closed
2 tasks done
Labels
Setup 📥 These are probably setup or user environment related issues. Waiting for reply⏳ Waiting for the original poster to respond, or discussion in progress.

Comments

@DavidFederX
Copy link

Is there an existing issue for this?

Current Behavior

can't connect to unifi due to the forced 2 factor auth.

Expected Behavior

need to login to sync with unifi

Steps To Reproduce

activate UNFIMP
settings, ip, user, pw etc
save
get the 2 factor code in mail (since no 2 factor app setup at unifi)
--> no sync

app.conf

No response

docker-compose.yml

No response

What branch are you running?

Production

app.log

No response

Debug enabled

  • I have read and followed the steps in the wiki link above and provided the required debug logs and the log section covers the time when the issue occurs.
@DavidFederX DavidFederX added the bug 🐛 Something isn't working label Aug 2, 2024
@jokob-sk
Copy link
Owner

jokob-sk commented Aug 3, 2024

Hi there @DavidFederX !

Thanks for using NetAlertX!

I've just tried and the plugin seems to work just fine. Please make sure you are logging into your UNIFI controller. A 2-factor challenge is not required when logging into the controller on your local network.

image

image

@jokob-sk jokob-sk added Setup 📥 These are probably setup or user environment related issues. Waiting for reply⏳ Waiting for the original poster to respond, or discussion in progress. and removed bug 🐛 Something isn't working labels Aug 3, 2024
@jokob-sk
Copy link
Owner

jokob-sk commented Aug 9, 2024

No reply for a week -> Closing

@jokob-sk jokob-sk closed this as completed Aug 9, 2024
@DavidFederX
Copy link
Author

Hello,
sorry for the (very) late reply.
I've well set the parameters and got the login failed in the logs.
image
image
100% sure of my ip, username and pw. Unifi forced using 2 factors a few months ago.
Do you indeed have latest version of unifi?

@jokob-sk jokob-sk reopened this Sep 11, 2024
@DavidFederX
Copy link
Author

sorry, I realize I did a mistake.
it actually works :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Setup 📥 These are probably setup or user environment related issues. Waiting for reply⏳ Waiting for the original poster to respond, or discussion in progress.
Projects
None yet
Development

No branches or pull requests

2 participants