IdentityServer4AspNetCoreIdentityTemplate 1.0.4
Creates an ASP.NET Core STS application using IdentityServer4 and Identity with localisation, TOTP, personal data, Bootstrap 4
See the version list below for details.
dotnet new --install IdentityServer4AspNetCoreIdentityTemplate::1.0.4
An ASP.NET Core IdentityServer4 Identity Template with Bootstrap 4 and Localization
Features
- ASP.NET Core 2.1
- Latest ASP.NET Core Identity
- Bootstrap 4 UI
- Localization en-US, de-DE, it-IT, de-CH (dialect)
- 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
- Suppport for ui_locales using OIDC logins
some print screens:
it-IT
<img src="it-IT_template.png" alt="" />
de-DE
<img src="de-DE_template.png" alt="" />
en-US
<img src="en-US_template.png" alt="" />
Using the template
install
From NuGet:
dotnet new -i IdentityServer4AspNetCoreIdentityTemplate
Locally built nupkg:
dotnet new -i IdentityServer4AspNetCoreIdentityTemplate.1.0.4.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 applicaiton (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 sesssion data to a database using the IdentityServer4.EntityFramework NuGet package
uninstall
dotnet new -u IdentityServer4AspNetCoreIdentityTemplate.1.0.4.nupkg
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
Links
http://docs.identityserver.io/en/release/
An ASP.NET Core IdentityServer4 Identity Template with Bootstrap 4 and Localization
Features
- ASP.NET Core 2.1
- Latest ASP.NET Core Identity
- Bootstrap 4 UI
- Localization en-US, de-DE, it-IT, de-CH (dialect)
- 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
- Suppport for ui_locales using OIDC logins
some print screens:
it-IT
<img src="it-IT_template.png" alt="" />
de-DE
<img src="de-DE_template.png" alt="" />
en-US
<img src="en-US_template.png" alt="" />
Using the template
install
From NuGet:
dotnet new -i IdentityServer4AspNetCoreIdentityTemplate
Locally built nupkg:
dotnet new -i IdentityServer4AspNetCoreIdentityTemplate.1.0.4.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 applicaiton (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 sesssion data to a database using the IdentityServer4.EntityFramework NuGet package
uninstall
dotnet new -u IdentityServer4AspNetCoreIdentityTemplate.1.0.4.nupkg
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
Links
http://docs.identityserver.io/en/release/
Release Notes
added it-IT translations
Dependencies
This package has no dependencies.
Used By
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version History
Version | Downloads | Last updated |
---|---|---|
5.1.0 | 214 | 1/19/2021 |
5.0.6 | 93 | 1/7/2021 |
5.0.5 | 184 | 11/8/2020 |
5.0.4 | 390 | 9/12/2020 |
5.0.3 | 162 | 8/28/2020 |
5.0.2 | 179 | 8/8/2020 |
5.0.1 | 218 | 7/3/2020 |
4.0.6 | 250 | 5/6/2020 |
4.0.5 | 341 | 4/4/2020 |
4.0.4 | 287 | 3/22/2020 |
4.0.3 | 246 | 3/20/2020 |
4.0.1 | 243 | 3/7/2020 |
3.0.4 | 242 | 2/14/2020 |
3.0.3 | 242 | 1/24/2020 |
3.0.2 | 286 | 1/4/2020 |
3.0.1 | 266 | 12/18/2019 |
3.0.0 | 251 | 12/6/2019 |
2.0.1 | 319 | 10/24/2019 |
2.0.0 | 301 | 9/24/2019 |
1.0.22 | 289 | 9/1/2019 |
1.0.21 | 320 | 8/19/2019 |
1.0.20 | 459 | 6/8/2019 |
1.0.19 | 396 | 4/30/2019 |
1.0.18 | 387 | 3/29/2019 |
1.0.17 | 405 | 2/24/2019 |
1.0.16 | 476 | 1/23/2019 |
1.0.15 | 484 | 12/19/2018 |
1.0.14 | 499 | 12/4/2018 |
1.0.13 | 442 | 11/25/2018 |
1.0.12 | 433 | 11/21/2018 |
1.0.11 | 521 | 10/16/2018 |
1.0.10 | 480 | 10/10/2018 |
1.0.9 | 514 | 9/27/2018 |
1.0.8 | 471 | 9/21/2018 |
1.0.7 | 507 | 9/16/2018 |
1.0.6 | 529 | 9/12/2018 |
1.0.5 | 499 | 8/31/2018 |
1.0.4 | 481 | 8/29/2018 |
1.0.3 | 480 | 8/28/2018 |
1.0.2 | 475 | 8/27/2018 |
1.0.1 | 472 | 8/27/2018 |
1.0.0 | 492 | 8/27/2018 |