Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance User Authentication, Communication, and Frontend Integration #6

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

gayanukabulegoda
Copy link
Owner

This pull request introduces several enhancements and new features to improve user authentication, communication, and integration with the frontend dashboard. The key changes include:

Email Util and OTP Manager Enhancements:

  • Developed the EmailUtil to send dynamic and context-specific emails using HTML templates.
  • Created HTML templates for account deactivation, email verification, and password reset scenarios.
  • Enhanced the OtpManager to limit OTP validity to 3 minutes, ensuring timely and secure verification.

WebConfig for CORS Policy:

  • Implemented WebConfig to handle CORS policy, allowing requests from specified origins.

Dashboard Controller and Service Layer:

  • Created a new DashboardController and service layer to manage frontend dashboard-related endpoints.
  • Updated existing controller, service, and repository layers to integrate with the frontend, ensuring seamless communication and data flow between the backend and frontend components.

These improvements bolster security, enhance user experience, and ensure efficient communication between the backend and frontend components.

…HTML Templates for Email Scenarios

Developed the Email Util and OTP Manager to enhance user authentication and communication. The OTP Manager now limits OTP validity to 3 minutes, ensuring timely and secure verification. Additionally, created HTML templates for account deactivation, email verification, and password reset scenarios, allowing the Email Util to send dynamic and context-specific emails to users. These improvements bolster security and provide a better user experience.
…e, and updated layers for frontend integration

Implemented WebConfig to handle CORS policy, allowing requests from specified origins. Created Dashboard controller and service layer to manage frontend dashboard-related endpoints. Updated existing controller, service, and repository layers to integrate with the frontend, ensuring seamless communication and data flow between the backend and frontend components.
@gayanukabulegoda gayanukabulegoda added enhancement Improvements or additions to existing features. refactor Code changes that neither fix a bug nor add a feature. performance Changes that improve performance. tests Adding or updating tests. validation Implementation or improvement of data validation mechanisms. code quality Enhances code maintainability and readability. labels Dec 4, 2024
@gayanukabulegoda gayanukabulegoda self-assigned this Dec 4, 2024
@gayanukabulegoda gayanukabulegoda merged commit 619f3e8 into dev Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality Enhances code maintainability and readability. enhancement Improvements or additions to existing features. performance Changes that improve performance. refactor Code changes that neither fix a bug nor add a feature. tests Adding or updating tests. validation Implementation or improvement of data validation mechanisms.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant