Giter Site home page Giter Site logo

automateduo's Introduction

Duo Auto Accept

Disclaimer: Use this at your own risk. Automating two factor authentication will reduce security and nullify any advantages provided by it

This document is aimed at providing a solution on Android devices for the annoying number of 2FA requests caused by trying to login to any University of Michigan service. Please note that using this script is as good as not having 2FA enabled, so do consider the security implications before proceeding.

Android

  • Install Duo Mobile on your device and set up your account normally as per this ITS document. If you are already using Duo Mobile on your device you can skip this step

  • Download Tasker from the Play Store ($2.99)

  • Download AutoNotification

    • AutoNotification is a plugin for Tasker that enhances Tasker's ability to manipulate and interact with notifications
    • AutoNotification is part of AutoApps, a family of plugins developed by joaomgcd
    • AutoNotification is free with ads and an ad-free version can also be purchased through the AutoApps app
  • Download the DuoAutoAccept.tsk.xml from the repository

  • Import the task into Tasker (long press the Tasks tab)

  • Once you have imported the task you should see it listed under the Tasks tab with the name "T"

  • Feel free to open the task and look at and modify the steps used to automate the process
    • If the script takes too long/fails to work correctly, try to tweak the time interval in Step 4

  • To link the task to the Duo Mobile app, we must first create a profile that listens for a Notification UI Event and then runs the task when the appropriate event was fired. To do this, first add a new profile

  • Select "Event" for the Profile type

  • Select "UI" for the Event category

  • Select "Notification" for UI Event type

  • Give the profile a title if you desire and then select "Owner Application"

  • In the list of apps that appear, select Duo Mobile then tap back

  • Tap back again to go to the profile tab. You will be prompted to select a task to link to the profile. Select the imported task. You have now linked the task to the profile!

  • Your phone should now accept any Duo Mobile Notifications automatically.

automateduo's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

automateduo's Issues

Update for latest DUO app.

Hello,

its already some time, since DUO app UI was updated and this script stopped working.
Please may you provide an update or guide me what needs to be updated to catch notification from new GUI?

Thanks in advance

Task never activate on receiving Duo Push

Expected Behavior

Task should run and automatically accept a Duo Push request

Current Behavior

Task is enabled in Tasker, but never runs when a Duo Push request is received.

Steps to Reproduce

  1. Installed required apps and granted all requested perms/notification access
  2. Imported task and created profile as per readme
  3. Do something that sends a Duo Push request
  4. Task never runs

Environment

Samsung Note 10 running Android Version 10, Security Patch level August 1, 2020
Tasker version 5.9.3
AutoNotification version 4.1.4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.