All Projects → damienbod → Identityserver4aspnetcoreidentitytemplate

damienbod / Identityserver4aspnetcoreidentitytemplate

Licence: mit
An ASP.NET Core 3.1 IdentityServer4 Identity Bootstrap 4 template with localization

Projects that are alternatives of or similar to Identityserver4aspnetcoreidentitytemplate

AspNetCoreBackChannelLogout
ASP.NET Core Back-Channel Logout for Hybrid Clients, Redis, Key Vault, Azure
Stars: ✭ 17 (-93.51%)
Mutual labels:  identity, aspnet-core, identityserver4, 2fa
Aspnet5identityserverangularimplicitflow
OpenID Connect Code / Implicit Flow with Angular and ASP.NET Core 5 IdentityServer4
Stars: ✭ 670 (+155.73%)
Mutual labels:  aspnetcore, aspnet-core, identity, identityserver4
Aspnetcoreid4external
external OpenID Connect Login to IdentityServer4 with AAD
Stars: ✭ 63 (-75.95%)
Mutual labels:  identity, 2fa, identityserver4, bootstrap4
PersianDataAnnotations
PersianDataAnnotations is ASP.NET Core MVC & ASP.NET MVC Custom Localization DataAnnotations (Localized MVC Errors) for Persian(Farsi) language - فارسی سازی خطاهای اعتبارسنجی توکار ام.وی.سی. و کور.ام.وی.سی. برای نمایش اعتبار سنجی سمت کلاینت
Stars: ✭ 38 (-85.5%)
Mutual labels:  mvc, localization, aspnetcore, nuget
Jpproject.identityserver4.adminui
🔧 ASP.NET Core 3 & Angular 8 Administration Panel for 💞IdentityServer4 and ASP.NET Core Identity
Stars: ✭ 717 (+173.66%)
Mutual labels:  aspnetcore, identity, identityserver4
Identitybase
IdentityBase is a Universal Identity Platform for web, mobile and IoT built on top of IdentityServer.
Stars: ✭ 112 (-57.25%)
Mutual labels:  aspnet-core, identity, identityserver4
Aspnetcorewindowsauth
Local and Windows Authentication, ASP.NET Core MVC, IdentityServer4
Stars: ✭ 87 (-66.79%)
Mutual labels:  aspnetcore, identityserver4, mvc
Aspnetcorelocalization
Localization.SqlLocalizer & ASP.NET Core MVC Localization Examples
Stars: ✭ 183 (-30.15%)
Mutual labels:  aspnetcore, mvc, localization
Greatwall
Util应用框架配套的权限管理系统
Stars: ✭ 88 (-66.41%)
Mutual labels:  aspnetcore, identity, identityserver4
AspNetCoreMvcSharedLocalization
ASP.NET Core MVC shared localization
Stars: ✭ 31 (-88.17%)
Mutual labels:  mvc, localization, aspnet-core
Identity.dapper
Identity package that uses Dapper instead EntityFramework for use with .NET Core
Stars: ✭ 234 (-10.69%)
Mutual labels:  aspnetcore, aspnet-core, identity
MsCoreOne
MsCoreOne is a simple Ecommerce with using many technologies such as .NET 5, Entity Framework Core 5, React 16.13 with modern Clean Architecture, Domain-Driven Design, CQRS, SOLID, Identity Server 4, Blazor. It will focus on resolving the problems always see in the process to develop projects.
Stars: ✭ 77 (-70.61%)
Mutual labels:  mvc, aspnetcore, identityserver4
Identityserver4
OpenID Connect and OAuth 2.0 Framework for ASP.NET Core
Stars: ✭ 8,428 (+3116.79%)
Mutual labels:  aspnet-core, identity, identityserver4
Aspnetcoreangularsignalrsecurity
Security with ASP.NET Core, SignalR and Angular
Stars: ✭ 171 (-34.73%)
Mutual labels:  aspnetcore, aspnet-core, identityserver4
Run Aspnetcore Realworld
E-Commerce real world example of run-aspnetcore ASP.NET Core web application. Implemented e-commerce domain with clean architecture for ASP.NET Core reference application, demonstrating a layered application architecture with DDD best practices. Download 100+ page eBook PDF from here ->
Stars: ✭ 208 (-20.61%)
Mutual labels:  aspnetcore, aspnet-core, bootstrap4
Authentication
Authentication examples for AspNetCore 3.1
Stars: ✭ 37 (-85.88%)
Mutual labels:  identity, aspnetcore, identityserver4
DNTCommon.Web.Core
DNTCommon.Web.Core provides common scenarios' solutions for ASP.NET Core 3.x applications.
Stars: ✭ 117 (-55.34%)
Mutual labels:  mvc, aspnetcore, aspnet-core
BlazorDemo
Demo application for my writings about Blazor
Stars: ✭ 79 (-69.85%)
Mutual labels:  aspnetcore, aspnet-core
mssql-restapi
A simple REST API for SQL Server, Azure SQL DB and Azure SQL DW using SMO on .NET Core 2.0
Stars: ✭ 33 (-87.4%)
Mutual labels:  aspnetcore, aspnet-core
AspNetCoreFilters
ASP.NET Core MVC Filters
Stars: ✭ 34 (-87.02%)
Mutual labels:  mvc, aspnet-core

An ASP.NET Core IdentityServer4 Identity Template with Bootstrap 4 and Localization

Build status NuGet Status Change log

Features

  • ASP.NET Core 3.1
  • Latest ASP.NET Core Identity
  • Bootstrap 4 UI
  • Localization en-US, de-DE, it-IT, fr-FR, zh-Hans, es-MX, de-CH, ga-IE, gsw-CH
  • 2FA
  • TOTP
  • FIDO2 MFA
  • Personal data, download, delete (part of Identity)
  • Azure AD, Cert, key vault deployments API
  • SendGrid Email API
  • npm with bundleconfig used for frontend packages
  • EF Core
  • Support for ui_locales using OIDC logins

some print screens:

it-IT

it-IT

de-DE

de-DE

en-US

en-US

fr-FR

fr-FR

zh-Hans

zh-Hans

Using the template

install

From NuGet:

dotnet new -i IdentityServer4AspNetCoreIdentityTemplate

Locally built nupkg:

dotnet new -i IdentityServer4AspNetCoreIdentityTemplate.5.0.6.nupkg

Local folder:

dotnet new -i <PATH>

Where <PATH> is the path to the folder containing .template.config.

run

dotnet new sts -n YourCompany.Sts

Use the -n or --name parameter to change the name of the output created. This string is also used to substitute the namespace name in the .cs file for the project.

Setup, Using the application for your System

  • Change the EF Core code from SQLite to your required database
  • Change the ApplicationUser class as required, remove/add the properties
  • Add the migrations and create the database
  • Define the deployment URLs, create the certs, and use these in your application (Startup, config files)
  • Add the external providers for login as required, or remove
  • Remove the UI views which are not required
  • Add remove the resource file localizations and also in the Startup.
  • Add the client configuration to the Config.cs class (dev, test, staging, prod, or whatever)
  • Update the claims in the IdentityWithAdditionalClaimsProfileService
  • Add the security headers as required, CSP, IFrame, XSS, HSTS, ...
  • If you deploy in a multi instance environment, add the session data to a database using the IdentityServer4.EntityFramework NuGet package
  • Add "AZURE_TENANT_ID": "your-tenandId" to the launch settings to test in VS with Azure Key Vault certificates

uninstall

dotnet new -u IdentityServer4AspNetCoreIdentityTemplate

Development

build

https://docs.microsoft.com/en-us/dotnet/core/tutorials/create-custom-template

nuget pack content/IdentityServer4AspNetCoreIdentityTemplate.nuspec

dotnet Migrations

open the cmd in project folder:

dotnet restore

dotnet ef migrations add sts_init --context ApplicationDbContext --verbose

dotnet ef database update  --verbose

Using Powershell to create the self signed certs:

New-SelfSignedCertificate -DnsName "sts.dev.cert.com", "sts.dev.cert.com" -CertStoreLocation "cert:\LocalMachine\My"

$mypwd = ConvertTo-SecureString -String "1234" -Force -AsPlainText

Get-ChildItem -Path cert:\localMachine\my\"The thumbprint..." | Export-PfxCertificate -FilePath C:\git\sts_dev_cert.pfx -Password $mypwd

Credits, Used NuGet packages + ASP.NET Core 3.1 standard packages

  • IdentityServer4
  • IdentityServer4.AspNetIdentity
  • Azure.Security.KeyVault.Secrets
  • Microsoft.IdentityModel.Clients.ActiveDirectory
  • Sendgrid
  • NWebsec.AspNetCore.Middleware
  • Serilog

Links

http://docs.identityserver.io/en/release/

https://github.com/IdentityServer/IdentityServer4

https://getbootstrap.com/

https://nodejs.org/en/

https://www.npmjs.com/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].