Skip to content

Feature Request: Add Two-Factor Authentication and Email Notification Service聽#123

Description

@rhuzaii

馃殌 Summary

The current e-commerce project provides basic login and order functionality, but lacks two key features commonly expected in modern platforms:

  • Secure login via Two-Factor Authentication (2FA)
  • Email notifications for order updates and login verification

馃攼 Problem Statement

  1. Login is currently protected only by username and password, which is vulnerable to credential theft.
  2. Users do not receive email updates about their order status or login attempts, reducing transparency and trust.

馃挕 Proposed Solution

I would like to contribute the following enhancements:

  • Implement OTP-based Two-Factor Authentication using Spring Security and Email.
  • Add an Email Notification Service using Spring Mail to send:
    • OTP during login
    • Order confirmation
    • Order shipment updates

馃洜 Technologies

  • Java, Spring Boot, Spring Security
  • Spring Mail, JavaMailSender API
  • MySQL (existing)
  • JSP/Thymeleaf (existing)

馃摎 Motivation

These features will:

  • Improve account security and prevent unauthorized access
  • Enhance user experience through timely updates
  • Align the project with real-world e-commerce standards

Looking forward to feedback or suggestions from the maintainers!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions