Welcome to this sample project showcasing how to implement Auth0 Authorization Code Flow in a .NET application. This project demonstrates how to integrate Auth0 for secure authentication and authorization in ASP.NET Core applications using the OAuth 2.0 Authorization Code Flow.
This repository provides a practical example of integrating Auth0 with a .NET Core application, specifically utilizing the OAuth 2.0 Authorization Code Flow. The Authorization Code Flow is a robust and secure method for handling user authentication, best suited for server-side web applications.
- Secure user authentication with Auth0.
- Authorization Code Flow with OAuth 2.0.
- JWT Token Management.
- Built with ASP.NET Core and C#.
- Example of Middleware Integration for authentication.
- Demonstrates usage of user profile data from Auth0.
- Modify the auth0 tenant (clientId, Secret) in appsettings and the issuer/audience in the sample api
- Navigate to the root folder (cmd/ps/terminal)
- docker-compose -f docker-compose.yml -f docker-compose.override.yml up -d --build