I added a mostly working Interactive Login for MFA. I didn't want the automatic process of the script digging in my gmail for the email, etc. Using interactive=True will allow the user to choose which Factor to use.
Email = it will send the email the MFA code, the script will ask for it.
Trusted Device = it will send a push notification to approve/deny.
What is currently not working is the Trust this current device logic. But once that is figured out, the rest of the code should be able to work.
To get a trusted device, you'll need to officially install the arlo app, log into it, then choose Trust Device from within the app. Then, this script should see it and prompt you with that option.
Example flow:
arlo = Arlo(USERNAME, PASSWORD, interactive=True)
# choose Trust Device phone during prompt
# Push Notification is sent to phone
# Approve (or Deny) the push notification
# script continues
I added a mostly working Interactive Login for MFA. I didn't want the automatic process of the script digging in my gmail for the email, etc. Using
interactive=True
will allow the user to choose which Factor to use. Email = it will send the email the MFA code, the script will ask for it. Trusted Device = it will send a push notification to approve/deny.What is currently not working is the Trust this current device logic. But once that is figured out, the rest of the code should be able to work.
To get a trusted device, you'll need to officially install the arlo app, log into it, then choose Trust Device from within the app. Then, this script should see it and prompt you with that option.
Example flow: