Skip to content

MarshalOfficial/dotnet-react-auth-sample

Repository files navigation

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).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published