Skip to content

This repository demonstrates Forgot Password functionality. to perform this i use smtp email. you can perform this on asp dotnet(version-8) core web api with swagger or postman.

Notifications You must be signed in to change notification settings

imdesai00/Forgot-password-functionality

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASP.NET Core Web API Forgot Password Functionality

This repository contains a sample ASP.NET Core Web API project that demonstrates the implementation of a Forgot Password functionality. This functionality is crucial for web applications that require users to reset their passwords in case they forget them.

Features

  • Forgot Password Endpoint: Exposes an endpoint to initiate the password reset process by sending a reset link to the user's registered email address.
  • Reset Password Endpoint: Allows users to reset their passwords by verifying their identity through a secure token sent to their email.
  • Token Generation: Utilizes secure token generation to ensure the reset password process is secure and resistant to attacks.
  • Email Integration: Integrates with an SMTP server to send password reset emails to users.
  • Secure Practices: Implements industry-standard security practices to protect user data and prevent unauthorized access.

Technologies Used

ASP.NET Core: The primary framework for building web applications and APIs.

C#: The programming language used for backend logic and API.

SMTP: Simple Mail Transfer Protocol for sending emails.

JWT (JSON Web Tokens): Used for secure token generation and authentication.

Swagger UI: A tool to document and test APIs.

PostgreSQL: A lightweight, file-based database used for local development and testing.

Getting Started

To get started with this project, follow these steps:

  1. Clone the Repository: Use git clone to clone this repository to your local machine.
  2. Configure the necessary settings such as SMTP server details, email templates, and database connection string.Build and run the application.
  3. Navigate to the Project Directory: cd into the directory containing the cloned repository.
  4. Build and Run the Project: Use dotnet build to build the project, followed by dotnet run to start the development server.
  5. Explore the API: Once the project is running, navigate to https://localhost:5001/swagger/index.html to explore and interact with the API using Swagger UI.
  6. Test the Forgot Password and Reset Password endpoints using tools like Postman or through your application's frontend.

Run Locally

Clone the project

  git clone https://github.com/imdesai00/Forgot-password-functionality.git

About

This repository demonstrates Forgot Password functionality. to perform this i use smtp email. you can perform this on asp dotnet(version-8) core web api with swagger or postman.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages