Code Monkey home page Code Monkey logo

Comments (3)

MightySCollins avatar MightySCollins commented on July 20, 2024

I guess the only reason they should not be shown is that if someone gains access to the account somehow they can use these tokens to get in on multiple other occasions but if an email was sent whenever a token is used then the account holder could just generate them again.

I have always found it slightly annoying when you cant see them again but I am sure they have other better reasons.

from django-allauth-2fa.

clokep avatar clokep commented on July 20, 2024

I agree! There's also weird things though where like in Google Apps for Business (or whatever the new name is); the account owner can actually see EVERYONE's backup tokens at any point.

Maybe this page should just require the user to re-authenticate with 2FA if they haven't done it in xx minutes (similar to #7).

from django-allauth-2fa.

chromano avatar chromano commented on July 20, 2024

Just a random thought: Should backup codes be used as a last resource when disputing an account? For example, someone was able to figure out my password. The 2FA is set to use SMS, but the mobile operators are insecure and the attacker would easily have access to the token sent there.

If the backup codes display only once when you sign up, then you can use this to assert you are the owner of the account.

from django-allauth-2fa.

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.