Giter Club home page Giter Club logo

Comments (3)

brendanheywood avatar brendanheywood commented on August 15, 2024

There is a small chicken and egg problem with this one. If we configure it as an early factor, then we can trust a device without going through other factors. But if we configure it to be done last we'll never get to it. The UX in google is that this is built into the other factors as a 'Remember me on this device' when you verify them.

Perhaps the cleanest architecture is the order doesn't matter but we have a 'post_verify' method that any factor can hook into to provide a page where people can opt into this.

from moodle-tool_mfa.

Peterburnett avatar Peterburnett commented on August 15, 2024

Rewording this slightly to address the general 'Trust this device for x time' Feature

from moodle-tool_mfa.

Peterburnett avatar Peterburnett commented on August 15, 2024

Cross posting from #15 :

Proposal:

A cookie with a code stored on the client side, provided to the auth page to verify.

Requirements for cookie:

There is only one presented code.
An incorrect cookie with a current timestamp should be an instant factor lock
The IP coming in with a cookie MUST be the same as a 'lastverified' and that must have been within 24 hrs.
The cookie can only be set by an input factor, and ONLY if an input factor was used to verify
Considerations: This is a potential weakening of MFA due to device theft etc. Integrate with other factors. Factor reliance API? Might be achievable with just points

from moodle-tool_mfa.

Related Issues (20)

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.