https://github.com/hernangm/portfolio-dotnet-identity
Portfolio.Dotnet.Identity is a .NET 9 Identity Server for auth, supporting user management, local & external providers (Azure AD, Google), & role-based access. It uses IdentityServer4, EF Core, & ASP.NET Core Razor Pages, with SQL Server for storage, email, & Swagger API docs.
https://github.com/hernangm/portfolio-dotnet-identity
authentication dotnet-core efcore identity identityserver4 jwt
Last synced: 7 days ago
JSON representation
Portfolio.Dotnet.Identity is a .NET 9 Identity Server for auth, supporting user management, local & external providers (Azure AD, Google), & role-based access. It uses IdentityServer4, EF Core, & ASP.NET Core Razor Pages, with SQL Server for storage, email, & Swagger API docs.
- Host: GitHub
- URL: https://github.com/hernangm/portfolio-dotnet-identity
- Owner: hernangm
- License: gpl-2.0
- Created: 2025-10-14T11:15:18.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-10-16T06:23:28.000Z (9 months ago)
- Last Synced: 2025-10-16T11:53:49.800Z (9 months ago)
- Topics: authentication, dotnet-core, efcore, identity, identityserver4, jwt
- Language: SCSS
- Homepage:
- Size: 1.17 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Portfolio.Dotnet.Identity
[](https://github.com/hernangm/portfolio-dotnet-identity/actions/workflows/azure-webapps-dotnet-core.yml)
## Functional Description
This project is an Identity Server built with .NET 9, designed to handle authentication and authorization for various applications. It supports:
* **User Management:** Registration, login, password management, and profile editing.
* **Authentication:** Local user accounts and external identity providers (Azure AD, Google).
* **Authorization:** Role-based access control for APIs and applications.
* **Customization:** Configurable password policies, email integration, and client/resource management.
* **Security:** Implements best practices for data protection and secure communication.
## Technical Description
* **Technology Stack:**
* .NET 9: Latest .NET runtime for performance and features.
* IdentityServer4: Industry-standard framework for OpenID Connect and OAuth 2.0.
* Entity Framework Core: ORM for data access.
* ASP.NET Core Razor Pages: For user interface elements.
* Swagger/OpenAPI: For API documentation and exploration.
* **Architecture:**
* Modular design with clear separation of concerns.
* Configuration-driven to support different environments.
* Uses dependency injection for testability and maintainability.
* Implements custom profile service and redirect URI validator for enhanced flexibility.
* **Database:**
* Uses SQL Server as the data store.
* EF Core migrations for database schema management.
* **Email Integration:**
* Supports sending emails for user registration and password reset.
* **External Identity Providers:**
* Supports Azure Active Directory and Google authentication.
* **Development Practices:**
* Uses Swagger for API documentation.
* Configured for development and production environments.
* Includes CORS configuration for cross-origin requests.