IdentityServer4AspNetCoreIdentityTemplate 1.0.6

There is a newer version of this package available.
See the version list below for details.
dotnet new install IdentityServer4AspNetCoreIdentityTemplate::1.0.6
This package contains a .NET Template Package you can call from the shell/command line.

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

Build status NuGet Status Change log

Features

  • ASP.NET Core 2.1
  • Latest ASP.NET Core Identity
  • Bootstrap 4 UI
  • Localization en-US, de-DE, it-IT, fr-FR, de-CH, gsw-CH
  • TOTP
  • 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

Using the template

install

From NuGet:

dotnet new -i IdentityServer4AspNetCoreIdentityTemplate

Locally built nupkg:

dotnet new -i IdentityServer4AspNetCoreIdentityTemplate.1.0.6.nupkg

run

dotnet new sts

Setup, Using the application for your System

  • Change the EF Core code from SQLite to your required database
  • Install the npm packages, either using the cmd with NodeJS, or Visual Studio
  • 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

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

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

https://github.com/IdentityServer/IdentityServer4

https://getbootstrap.com/

https://nodejs.org/en/

https://www.npmjs.com/

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
6.0.1 834 2/11/2022
6.0.0 465 11/12/2021
5.1.3 891 8/19/2021
5.1.2 390 8/18/2021
5.1.1 2,066 5/15/2021
5.1.0 576 1/19/2021
5.0.6 475 1/7/2021
5.0.5 559 11/8/2020
5.0.4 797 9/12/2020
5.0.3 555 8/28/2020
5.0.2 551 8/8/2020
5.0.1 587 7/3/2020
4.0.6 616 5/6/2020
4.0.5 681 4/4/2020
4.0.4 621 3/22/2020
4.0.3 577 3/20/2020
4.0.1 572 3/7/2020
3.0.4 559 2/14/2020
3.0.3 628 1/24/2020
3.0.2 666 1/4/2020
3.0.1 620 12/18/2019
3.0.0 589 12/6/2019
2.0.1 702 10/24/2019
2.0.0 675 9/24/2019
1.0.22 625 9/1/2019
1.0.21 646 8/19/2019
1.0.20 846 6/8/2019
1.0.19 804 4/30/2019
1.0.18 787 3/29/2019
1.0.17 772 2/24/2019
1.0.16 852 1/23/2019
1.0.15 944 12/19/2018
1.0.14 916 12/4/2018
1.0.13 871 11/25/2018
1.0.12 846 11/21/2018
1.0.11 940 10/16/2018
1.0.10 908 10/10/2018
1.0.9 961 9/27/2018
1.0.8 917 9/21/2018
1.0.7 919 9/16/2018
1.0.6 986 9/12/2018
1.0.5 947 8/31/2018
1.0.4 920 8/29/2018
1.0.3 893 8/28/2018
1.0.2 931 8/27/2018
1.0.1 937 8/27/2018
1.0.0 932 8/27/2018

Fixed language switch during login