Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 797 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 797 Bytes

dotnet-react-auth-sample

This repository contains a sample application demonstrating authentication with a .NET 8 minimal REST API and a React.js front end. The application covers login, refresh token functionality, and both secure and unsecure API methods.

Features

.NET 8 Minimal REST API

  • Login: Implements user authentication.
  • Refresh Token: Supports token refreshing for maintaining user sessions.
  • API Methods: Contains both secure and unsecure endpoints.

React.js Application

  • Login: Sample login implementation.
  • Dashboard: Secure area accessible only after authentication.
  • Refresh Token: Automatically handles token refresh to maintain user sessions.
  • Logout: remove the localstorage and redirect to login (un-secure default route).