GithubHelp home page GithubHelp logo

Forgot / Reset password about connect HOT 4 OPEN

brenthaertlein avatar brenthaertlein commented on June 10, 2024
Forgot / Reset password

from connect.

Comments (4)

brenthaertlein avatar brenthaertlein commented on June 10, 2024

Related: #68

from connect.

brenthaertlein avatar brenthaertlein commented on June 10, 2024

@calebmer I have experience with designing password reset paradigms that "I" consider "secure" (and I've spoken with others in this field and with more experience than I and I've been told my approach is "not incorrect". If you would like to discuss this functionality or what your ideas might be for implementing such functionality, please let me know.

from connect.

calebmer avatar calebmer commented on June 10, 2024

Would love too. How is it more difficult than sending a “reset password link” to the account’s email with an identity verification with a token that expires in 30 minutes? Are there complexities I’m not seeing?

from connect.

brenthaertlein avatar brenthaertlein commented on June 10, 2024

That's the simplest implementation that I've chosen in the past. I just try to be very methodical when it comes to anything related to security and Authentication.

I sign a JWT with a nonce stored server side to allow invalidation of tokens, which I think is pretty standard behavior (since JWTs are stateless if you want to invalidate tokens you need to track what was issued). In fact I reset my Ticketmaster password earlier and accidentally clicked it twice and my first token was invalidated by the second one being issued.

I can tell you have a preference for home rolling things which I'm fine with but there are also enterprise grade open source solutions involving Identity & Access Management which sometimes offload these concerns to an existing, established implementation.

from connect.

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.