Code Monkey home page Code Monkey logo

spring-boot-reset-password's Introduction

Reset-Password-Spring-boot

This spring boot app demonstrate "Forgot my password" flow.

After submitting the form an email will be sent to the mail address the user provided, an access token will be generated and will be kept in a map registry with the user object, Access token lifetime is only 5 minutes for security purposes.

In this email the user will be redirected to the reset-password HTML page . The access token will be added to the HTML "Reset your password" as a query parameter for authentication.

When the user will try to rest the password, the "isEligible" method will authenticate the access token the user came with. When authenticated (token lifetime still valid and its the same token), the new password will be hashed with SHY-2 algorithm and updeted in the database.

SPRING BOOT - FORGOT MY PASSWORD APP :#SPRING BOOT, #JPA repository,#Embedded H2, #MAVEN, #SHY-2,#JAVA Mail, #AngularJs, #HTML

*PLEASE NOTE --- > In order to send the 'Forgot My Password' email you will need to provide your own email username and password parameters in the 'email properties' file othrwise the javax mailer will be disabled

To access the application build and run project as a spring boot app and then hit this endpoint --> http://localhost:8090 in the browser

Images

reset-password-demo 1 reset-password-demo 2 reset-password-demo 3

@For any questions you can send an email to [email protected]

spring-boot-reset-password's People

Contributors

hoffmanation avatar orenhpygilant avatar

Stargazers

⭐Recruiter Only in Israel⭐ avatar  avatar

Watchers

James Cloos avatar

spring-boot-reset-password's Issues

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.